russelluno123

New Member
Joined
Nov 15, 2018
Messages
4
Hi

i was wondering if i could use index match with IF to find the production volume by matching the delivery date and post it to the relavant month in sales

Production Volume Sales
InvoiceJan-18Feb-18Mar-18Apr-18Shipping ConsignmentDate Of Delivery Invoice Jan-18Feb-18Mar-18Apr-18
INV1525100100300150603001-AprINV1525FALSE
INV1526200200200300454501-AprINV1526
INV1527200300100300303002-MarINV1527
INV15284004001303000001-JanINV1528

<colgroup><col><col><col><col><col><col><col><col><col><col span="5"></colgroup><tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Is this what you need

Excel 2013/2016
ABCDEFGHIJKLMN
1InvoiceJan-18Feb-18Mar-18Apr-18ShippingConsignmentDate Of DeliveryInvoiceJan-18Feb-18Mar-18Apr-18
2INV1525100100300150603001-AprINV1525100100300150
3INV1526200200200300454501-AprINV1526200200200300
4INV1527200300100300303002-MarINV1527200300100300
5INV15284004001303000001-JanINV1528400400130300
Data
Cell Formulas
RangeFormula
K2=INDEX($B$2:$E$5,MATCH($J2,$A$2:$A$5,0),MATCH(K$1,$B$1:$E$1,0))


Fill formula down & across
 
Last edited:
Upvote 0
Hi Fluff

thank you for replying so promptly. I want to get the invoice to be in the sales depending on the delivery date (column H ) not the production date ie in sales should match the same invoice number from production but populate the corresponding month in sales based on delivery date (column H). Thanks very much for your input
 
Upvote 0
Can you please show some examples of the expected outcome
 
Upvote 0
Production Volume Sales
LON. NoJan-18Feb-18Mar-18Apr-18Shipping ConsignmentDate Of Delivery LON No. Jan-18Feb-18Mar-18Apr-18
INV15251006030Apr-18INV1525100
INV15262004510Mar-18INV1526200
INV15273003030Apr-18INV1527300
INV152840000Apr-18INV1528400

<colgroup><col><col><col><col><col><col><col><col><col span="5"></colgroup><tbody>
</tbody>
 
Upvote 0
Unfortunately this is now beyond my somewhat limited knowledge of formulae.
Hopefully someone else will step in
 
Upvote 0
Figured something out


Excel 2013/2016
ABCDEFGHIJKLMN
1InvoiceJan-18Feb-18Mar-18Apr-18ShippingConsignmentDate Of DeliveryInvoice01/01/201801/02/201801/03/201801/04/2018
2INV1525100603001/04/2018INV1526   200
3INV1526200454501/02/2018INV1525100
4INV1527300303001/03/2018INV1527300
5INV15284000001/01/2018INV1528400
Jan
Cell Formulas
RangeFormula
K2=IF($H2=K$1,AGGREGATE(4,6,INDEX($B$2:$E$5,MATCH($J2,$A$2:$A$5,0),0)),"")
L2=IF($H2=L$1,AGGREGATE(4,6,INDEX($B$2:$E$5,MATCH($J2,$A$2:$A$5,0),0)),"")
M2=IF($H2=M$1,AGGREGATE(4,6,INDEX($B$2:$E$5,MATCH($J2,$A$2:$A$5,0),0)),"")
N2=IF($H2=N$1,AGGREGATE(4,6,INDEX($B$2:$E$5,MATCH($J2,$A$2:$A$5,0),0)),"")
 
Upvote 0

Forum statistics

Threads
1,215,343
Messages
6,124,404
Members
449,156
Latest member
LSchleppi

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