Hoping someone can help me with an excel formula. I have two tabs (first tab would pull from second, second tab would be a report that gets copy pasted that sometimes has certain categories and sometimes it doesn't). What formula can i use to match a cell (line/column) if the column sometimes exists and sometimes it doesn't?). Would this be a match/if? I need the exact formula as I have tried many combos and it's just not working.
More concrete, daily sales on the first tab. The report that gets copy pasted in the second tab would have has sales categories (sometimes one of the categories gets pulled does not exist and gets replaced by another category) depending on what sales happen that day. The categories in columns would be "main dining", "library", "bar" and the sales categories by lines for each of these would be "Food", "Liquor", "beer".
I can provide additional information if needed.
Thank you for your help.
IfError()
? It works like=IfError(Vlookup(...),"Not Found/Error")
. But, personally, I likeIndex/Match
, so I'd follow what @VBAPete suggests. – BruceWayne