Conditional formatting

Solved/Closed
CrazieB317 Posts 2 Registration date Monday 8 April 2013 Status Member Last seen 8 April 2013 - 8 Apr 2013 à 10:59
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 8 Apr 2013 à 12:03
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 12 September 2010 Status Contributor Last seen 27 December 2022 555
8 Apr 2013 à 11:17
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
CrazieB317 Posts 2 Registration date Monday 8 April 2013 Status Member Last seen 8 April 2013
8 Apr 2013 à 12:01
Thanks! I thought I tried that formula earlier but I guess I was entereing something wrong!
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 555
8 Apr 2013 à 12:03
Glad I could help.