Matching two criteria, return third

Horskrzy

New Member
Joined
Nov 30, 2010
Messages
2
Short and sweet.

Our PO program prints out auto-generated POs (for filing and referral purposes only) that are a convoluted mess. There's repeated information and/or information that's not needed which results in a very hard to decipher printout. We have an option that will export it to a csv file so I'd like to set up a preformatted spreadsheet that will pull the data of the daily csv file (which will always have the same location and file name, it'll just be overwritten each day). If I can get this to work we'll have a clean, easy to read daily printout.

A simplified sample of data (without all of the "garbage info" columns):

ABC
1POLINEITEM
283200111111
383200222222
483201133333
583202144444
684005155555
784005266666
884005377777
984008188888
1084009199999

<tbody>
</tbody>

What I need in a separate sheet:


  • Multiple "pages" that will identify the next PO number in the list (and place the PO number at the top right corner of the page) and based on that PO number, list all the PO line and item numbers related to the PO in rows below the PO number (up to 27 lines)
  • If the PO has more than 27 lines, the next "page" will recognize the additional lines and continue to list the remaining PO lines and item numbers.
  • If the PO has less than 27 lines, the remaining rows/formulas will be blank.
  • If the PO has less than 27 lines, the next "page" will show the next PO number.

Any suggestions?

Thanks,

Mark
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,215,558
Messages
6,125,507
Members
449,236
Latest member
Afua

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