Vlookup referencing a concatentated cell

frntrunr2

New Member
Joined
Jan 17, 2003
Messages
29
=VLOOKUP(F6,AUTHORIZATIONS!A:G,7,FALSE)

AUTHORIZATIONS Table
Column A(9 digit number) = Concatenated cells from column B (contains a 2 digit number) and column C (containing a 7 digit number)

My Vlookup formula is referencing a column (A) which contains concatenated data and it returns a N/A result.

If I replace the concatenated cell by actually typing in the 9 digit number, the formula works fine. Is it possible that Vlookup can't read the contents of A because it just sees the formula and not the resulting number?

I tried using "&" to join the data from the two cells but that didn't help either.

Any suggestions would be greatly appreciated.
Thanks in advance!
 

sward

New Member
Joined
Feb 12, 2007
Messages
27
after the concatenate formula put *1 (multiply by 1), this i pressume turns the concatenate answer to a number and will then work -

happens to me all the time!
 

frntrunr2

New Member
Joined
Jan 17, 2003
Messages
29
Sure enough! Though the cell still shows the formula, vlookup now understands to return the resulting number. Thanks for your quick (and successful) reply.
 

Forum statistics

Threads
1,081,530
Messages
5,359,349
Members
400,524
Latest member
Excelbat

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