SOLVED

Number formatting such that only the first number in the column has the $ sign

Copper Contributor

Dear Community,

 

I am working on an excel file which contains numbers and NAs / NMs.

 

While the number of rows in the table remains the same, the numbers the column and their position in the table change every time I update the data. The excel contains a ton of data and formatting it becomes a hassle, as with each file update, cells with numbers that were previously available are now NA / NM, and some other NA / NM cells now have numbers.

 

I am hoping one of you kind folks can help me automate this such that --

No matter where the 'first' number (from top to bottom) in a given column appears, it will now, carry the $ sign as prefix while other numbers below it and the NAs / NMs above or below it (if any) stay unaffected.

 

I hope the Community members are kind enough to help me save at least 30 min each week by helping me here. Have attached an excel that shows examples of the output. 

 

Again, thanks for your help in advance. 

2 Replies
best response confirmed by SeeingAhead (Copper Contributor)
Solution

@SeeingAhead 

 

I believe if you select the range to format, and with the top left cell as the active cell (A1 in your example workbook), use a conditional format formula (change the cell reference as applicable):

 

=count(a$1:a1)=1

 

and select your custom number format.

1 best response

Accepted Solutions
best response confirmed by SeeingAhead (Copper Contributor)
Solution

@SeeingAhead 

 

I believe if you select the range to format, and with the top left cell as the active cell (A1 in your example workbook), use a conditional format formula (change the cell reference as applicable):

 

=count(a$1:a1)=1

 

and select your custom number format.

View solution in original post