If Statement

philb99

Active Member
Joined
Feb 3, 2014
Messages
295
Hi - looking for help please

I have 2 columns which vlookup values within my tab, they are Team Name last month / Team Name this month.

I wish to know if these change and report in Column 3.

I have about 7 different team names - for this example - North, South, East, West
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,327
So really you want to see if the Team Name from last month exsist in the Team name This month column

in C1
=IF(ISNA(ERROR(MATCH(A1,B$1:B$1000,0)),"Team does not exist","")
copy down the column
 

philb99

Active Member
Joined
Feb 3, 2014
Messages
295
that's perfect if the Team Names are just typed into the Cell - My Team Names have been reported using a vlookup therefore I am not getting "Team does not exist".

Also as you know with a vlookup #NA is reported and I do receive a Team does not exist
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,327
I'm not sure what you are saying.

It doesnt matter whether a cell has a formula or a value. What matters is the content of that cell either obtained by entering a value or a formula.
VLOOKUP is irrelevant.

If this hasn't provided you with what you want then supply some data and inidcate whether they are the result of a VLOOKUP or manually entered data.
 
Last edited:

Forum statistics

Threads
1,081,574
Messages
5,359,707
Members
400,545
Latest member
Damntheman30

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top