Forum Discussion

MasonF2265's avatar
MasonF2265
Copper Contributor
May 03, 2021

IF function for Pivot Table

Hi everyone, 

 

I am trying to run a semi-complex code in excel and am having difficulty. I created a pivot table with people's information (picture 1) and want to run a function that will scan through the pivot table, see if "Adam Doe" exists, if so, see if a city exists, if so, print the value, otherwise print "NA" in the new table (picture 2) The same formula would continue except instead of city, look for state, phone number, email, etc.  

 

Any help would be appreciated! Thank you!

 

Pivot TableNew List

Resources