Trying to get data into a table

Jamescantuseexcel

New Member
Joined
Oct 18, 2018
Messages
1


Hi There

I’m not exactly a new use of excel I use it for vlookupsetc.

But I’m having a real hard time trying to convert some datainto a specific table.

I start with three columns of data listed as follows:

Part Number, Quantity, Date


My table has the part numbers on the horizontal axis and thedates on the vertical axis.


What I want is to get is the quantity for the specific partnumber in relation to the corresponding date.



Is there a formula in excel I can use? I’ve tried the DGET,VLOOKUP, HLOOKUP etc but they only seem to work from two datasets rather thanthree.



Anyone able to help?

 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi James,

Are you sure a pivot table won't be a better solution? If not a sumifs formula should work:

If your Part Number, Quantity and Date are in columns A, B and C with the header on row 1, try this formula for the first cell in your table, assuming your dates are in row 1. This formula will sum everything in column B, that has a Part Number matching the value in cell F2 and the date in cell G1.

Hope that helps.

=SUMIFS($B$2:$B$17,$A$2:$A$17,$F2,$C$2:$C$17,G$1)
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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