Auto populate with formula; vlookup, if blank etc.

Harley78

Active Member
Joined
Sep 27, 2007
Messages
372
Office Version
  1. 365
Platform
  1. Windows
I have a Freight workbook with parts listed when they came in and what is due to arrive. Column N is "Delivered date" and Column P is Carrier info.
I have a Balance Due Report workbook and want to do a vlookup (in Cel ")AR33"so it will auto populate using the Freight worksheet Column P (carrier info).

I am stumped how to make it look at the Balance Due Report and freight worksheet for the Same Part Numbers on both worksheets and make it look at column N (first Blank row) on Freight workbook and have it input the data using column P from Freight workbook.

Formula to be entered in the Balance Due Report (Column/Row: AR33)
I see it as " If Part # (Row 33 Column C) on Balance Due Report and Freight Report (Column A)are the same then find the first blank (under the part number) on the freight report and input what is in column P from the Freight Report into Balance Due Report (Column/Row: AR33). Not sure how to write it.

I hope I stated it clearly (least in my head I understand) Again, many thanks as always.

Bill
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
This sounds like it needs to be macro and most likely use

Code:
result = application.index(rangeofdatatoreturn,application.match(partnum,partnumrangetomatch,0))

triggered by a command button perhaps?
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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