Sammy
New Member
Hello!
I have a question that I couldn't find by searching through other posts and have been stuck on this problem for hours.
I have a row in a worksheet in which the value in cell A12 (and A13, A14, A15 till A61) contains either "P", "D" or "". Based on the value under column "A" i would like to change the number format in corresponding rows from column "F to Q"
For example, if cell "A12" contains "P" I'd like to format the cells from column "F12:Q12" as a percentage. If the cell "A12" contains "D" I'd like to format the cells from column "F12:Q12" as regular whole number with 2 decimal places. And if the cell "A12" contains "" I'd like to format the cells from column "F12:Q12" as regular whole number without any decimal places.
I didn't want to use macro; hence tried doing this using conditional formatting but when i change the parameters/locations to view other sites performance the number formatting changes after some few selections in my List Box.
Is there anyway that without using macro's I can change the number formats accordingly?
Any help would be much appreciated!
Thanks,
Sam
I have a question that I couldn't find by searching through other posts and have been stuck on this problem for hours.
I have a row in a worksheet in which the value in cell A12 (and A13, A14, A15 till A61) contains either "P", "D" or "". Based on the value under column "A" i would like to change the number format in corresponding rows from column "F to Q"
For example, if cell "A12" contains "P" I'd like to format the cells from column "F12:Q12" as a percentage. If the cell "A12" contains "D" I'd like to format the cells from column "F12:Q12" as regular whole number with 2 decimal places. And if the cell "A12" contains "" I'd like to format the cells from column "F12:Q12" as regular whole number without any decimal places.
I didn't want to use macro; hence tried doing this using conditional formatting but when i change the parameters/locations to view other sites performance the number formatting changes after some few selections in my List Box.
Is there anyway that without using macro's I can change the number formats accordingly?
Any help would be much appreciated!
Thanks,
Sam