I need help with excel IF function

  • Thread starter Thread starter Dave7881
  • Start date Start date
D

Dave7881

Hi I need help

Im trying to set up an invoice checking spreadsheet, I nee a formula that
looks at a yes/no drop down in another cell, and then either copies a second
cell to the location or leaves it blank for example:

If A1 is selected as YES then make D1 = B1

and if A1 is selected as NO make E1 = B1

Hope this makes sense, what I'm trying to do is get the Invoice Balance to
show in a paid column in green and an unpaid column in red depending on
whether it is shown as Paid - Yes/No in the paid column.
 
Dave7881 said:
Hi I need help

Im trying to set up an invoice checking spreadsheet, I nee a formula that
looks at a yes/no drop down in another cell, and then either copies a second
cell to the location or leaves it blank for example:

If A1 is selected as YES then make D1 = B1

and if A1 is selected as NO make E1 = B1

Hope this makes sense, what I'm trying to do is get the Invoice Balance to
show in a paid column in green and an unpaid column in red depending on
whether it is shown as Paid - Yes/No in the paid column.

Dave,

In B1, write =IF(A1="YES",D1,IF(A1="NO",E1,""))

Beege
 
A different interpretation from Beege's

=IF(A1="YES",B1,"") in D1

=IF(A1="NO",B1,"") in E1


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Filter 2
Formula To Keep Certain Cells Blank 5
EXcel IF function 1
Baffeling IF statement 7
WRITING A WHAT IF FUNCTION 1
Need help with formula 2
compare three cells 1
IF Function formula (I think?) 4

Back
Top