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 :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!