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.
 

Some videos you may like

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

SlamDunk

New Member
Joined
Jun 10, 2015
Messages
8
Try this formula, it will do what you are trying to achieve.

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

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
could this be possible with 4 non contiguous ranges?
 

SlamDunk

New Member
Joined
Jun 10, 2015
Messages
8

ADVERTISEMENT

Unfortunately my imagination is poor and I don't understand your question :)
 

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
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
 

My Aswer Is This

Well-known Member
Joined
Jul 5, 2014
Messages
17,253
Office Version
  1. 2013
Platform
  1. Windows
Yes this would work:
=IF(AND(B3="Student Loans",G3="Student Loans",B21="Student Loans",G12="Student Loans"),"Ok","Check Campaign")
 
Last edited:

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
Simply Brilliant.....



Thank you VERY much!
 

Watch MrExcel Video

Forum statistics

Threads
1,122,842
Messages
5,598,396
Members
414,235
Latest member
sucosama

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
Top