IF AND/OR plus a VLOOKUP
I'm having trouble getting a formula correct; I keep getting unparsable or circular reference. I'm wanting to add the name of our rep based on the status of two columns. If the CRM Portfolio is checked AND the Jurisdiction = Federal, I want to insert the name "Jason". If the CRM Portfolio is checked and the Jurisdiction is something other than federal, I want it do a VLookup in another sheet based on the State to pull the CRM contact for that state.
I've tried - =IF(AND([CRM Portfolio]@row=1,[Jurisdiction]@row="Federal","Jason",(IF(AND([CRM Portfolio]@row=1,[Jurisdiction]@row=0,(VLOOKUP([State]@row,{CL_States Range 2},2,false))))))
This comes back as a circular error. Any suggestions?
Best Answer
-
Give this a try:
=IF([CRM Portfolio]@row = 1, IF(Jurisdiction@row = "Federal", "Jason", VLOOKUP(State@row, {CL_States Range 2}, 2, false)))
Answers
-
Give this a try:
=IF([CRM Portfolio]@row = 1, IF(Jurisdiction@row = "Federal", "Jason", VLOOKUP(State@row, {CL_States Range 2}, 2, false)))
-
@Paul Newcome That did it! THANK YOU!! I was making it more complicated than it needed to be :)
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!