Help with simple formula

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
Hi there just a quick question...

Why isn't this formula working???

=IF(IF(B3="Student Loans",1,2)=IF(G3="Student Loans",1,2),"ok","Check Campaign")

It should check if BOTH B3 and G3 say Student loans and if they BOTH say that then it should redutn ok otherwise check campaign,

which it does.... BUT

if i type any other 2 equal values on B3 and G3 it still returns ok....

and i need for it to make sure that it specifically read student loans there.

Any help is appreciated.

Thanx in advance.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Sorry :(

It just came to my attention that a different part of my report requires me to check 4 different cells to make sure they all match Specifically B2, D2, G2, I2
 
Upvote 0
Yes this would work:
=IF(AND(B3="Student Loans",G3="Student Loans",B21="Student Loans",G12="Student Loans"),"Ok","Check Campaign")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top