Okay, so I've been working with this most of the day and decided I needed help, and I'll probably be pushing my excel knowledge limits to the max over the next year so if anyone can help on this one it would be huge.
Data looks like this:
Sheet 1
a - b - c
AZ - lee county collection - blank
AZ - bar county tax agency - blank
AR - new county government - blank
AR - lee county collection - blank
NY - collection for cool county - blank
CA - excel town and county collection - blank
CA - another county collector - blank
IL - lee county - blank
Sheet 2
a -b -c
AZ - Lee county - code 38
AZ - bar county - code 45
AR - new county - code 37
AR - lee county - code 66
NY - cool county - code 55
CA - excel county - code 41
CA - another county - code 40
IL - lee county - code 42
I need a formula that will first look up a matching state and then only look at counties in that state and when a matching county is found return the code information in the next (3rd) column to column c in the first sheet. The issue is I also have to use a formula like vlookup that will allow for a "close enough" rule for the second part so that when it looks for lee county tax collector it can find just "lee county."
Also I would use text to column to get the words I need to look at to be exact but as seen above some of the words aren't in order and there are over 22,000 that I need a formula I can just drag down.
Can anyone help me out with this? I'd seriously appreciate it!!!
Bookmarks