MULTIPLE CONDITION FORMULA

Y

yvonneb

I have a spreadsheet that got text and figure data in different columns. I want to add in a formula whereby if column B = JP and column D = Y, then it will add the figure in column J. Is this possible?
 
F

Fred Smith

To use multiple conditions, use the AND function, eg:

=if(and(b=jp,d=Y),true,false)

--
Regards,
Fred
Please reply to newsgroup, not e-mail


yvonneb said:
I have a spreadsheet that got text and figure data in different columns.
I want to add in a formula whereby if column B = JP and column D = Y, then
it will add the figure in column J. Is this possible?
 
D

Domenic

Hi,

=SUMPRODUCT(--(B1:B100="JP"),--(D1:D100="Y"),J1:J100)

and adjust the range accordingly

Hope this helps!
 

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

Top