Row 1 Labels the Column and creates formula.

joshbjames

New Member
Joined
Jul 25, 2017
Messages
33
Is there a formula that I could use in B1 that labels the column "Date" as well as applies a VLOOKUP formula for the whole column? Please forgive this atrocious question. I'm having a hard time figuring out how to word this for clarity... My goal is to have a sheet that automatically populates when I paste values into column A


orderIDLabel="Date" & formula =vlookup(A:A,dateListA:B,2,false)
0000101/02/18
0000202/03/18
0000303/04/18
0000404/05/18
0000505/06/18

<tbody>
</tbody>
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
If I'm understanding correctly: You want B1 to say "Date" and you want the rest of column B to have the formula, right? If you're ok with a manual step; do you know the extend/autofill mouse shortcuts? (I apologize if you know this already and were looking for something else!)
You can put a vlookup for the individual cell in B2 [=vlookup(A2,datelist,2,false) ] , select the cell, then grab the little black square on the bottom right corner of the cell and drag it down as far as you want to go. It will fill in the column with the formula, fixing the row number automatically. Or if column A is already filled in, you can double click that same little box and it will fill in as far as the end of column A.

Or is it important that the formula be added automatically each time data is entered in column A? If so, that's over my head :/

You could make it to look like the column is empty beyond the end of column A: you could fill in the formula for an excess of rows, but make the formula: =IFERROR(VLOOKUP(A2,datelist,2,FALSE),"")
 
Upvote 0

Forum statistics

Threads
1,215,135
Messages
6,123,241
Members
449,093
Latest member
Vincent Khandagale

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