|Formula| Incident number with Vlookup return grouped with ROW () in single cell

wmunsey81

New Member
Joined
Nov 30, 2017
Messages
29
I am trying to make an incident column in a log. I have the following formula in the table column cell (is a table so increments):

Code:
=VLOOKUP(WHSELocation,Hidden!J2:K33,2,FALSE),ROW()

Of course this is coming back in error.

The idea is it is looking in 'WHSE Location" a name, it matches with it's number, and then I want it grouped with the row number...

Example: 39121, 39122.... or even better.... 3912-1, 3912-2.....

This would be awesome to not only learn but use for future projects.

Thank you in advance!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Code:
=VLOOKUP(WHSELocation,Hidden!$J$2:$K$33,2,FALSE)

Before everyone says to add the '$' in the lookup, just added.
 
Upvote 0
So with no reply, I am guessing it has been missed, cannot be done, or has not been figured out. Also, may be a VBA only answer. Either way, if I figure it out, I will reply with what I find if someone doesn't beat me to it.
 
Upvote 0
Code:
[COLOR=#242729][FONT=Consolas]=VLOOKUP(WHSELocation,Hidden!$J$2:$K$33,2,FALSE)&"-"&ROW()[/FONT][/COLOR]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top