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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

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
18,967
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!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,992
Messages
5,856,692
Members
431,828
Latest member
kARTIK12345

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