Conditional formatting

Solved/Closed
CrazieB317 Posts 2 Registration date Monday April 8, 2013 Status Member Last seen April 8, 2013 - Apr 8, 2013 at 10:59 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Apr 8, 2013 at 12:03 PM
I am trying to maintain three lines of accounting on one spreadsheet. Basically, I have an order amount (C3) . I want to take that total from one of three lines of accounting either (E2, F2, or G2). I have created a pulldown (D3) and when I select which account from the pull down, which the text corresponds to the column headings of E,F or G, I want that choice to determine which account the amount (C3) is subtracted from.

3 responses

TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 555
Apr 8, 2013 at 11:17 AM
Hi CrazieB317,

You don't need conditional formatting for that, just a formula:
in cell C3:
=IF(D3="EEE",E2,IF(D3="FFF",F2,G2))

Best regards,
Trowa
1
CrazieB317 Posts 2 Registration date Monday April 8, 2013 Status Member Last seen April 8, 2013
Apr 8, 2013 at 12:01 PM
Thanks! I thought I tried that formula earlier but I guess I was entereing something wrong!
0
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 555
Apr 8, 2013 at 12:03 PM
Glad I could help.
0