Allocation of Quantity month & below

kpi

New Member
Joined
May 18, 2023
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
Let me describe what I am expecting.
IMG_20230518_211037.jpg

File can be accessed from Link
My ultimate goal is to get the answer in AN column which I have highlighted with green.

Data in AT:AY is simple the pulling the data from other sheet.

The main calculation column required is from AZ columns and to the right side.I have made for 3 months only with manual calculation in Month-1 i.e AZ:BZ column

I have show in AT Column Itemwise with their Sub Total at each.Here,I have taken of Month-1 and done calculation in AZ column whereas BA column is simply AY*AZ.


As I have multiple items with multiple month and data will accordingly shift to right side which I have started from AZ column as manual allocation is not possible in AZ column,so I do expect by vba that allocation of AM column based on month and item be by matching month AU column and item AT and the result towards column AZ & to right.

If any queries then kindly let me know.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Not 100% sure I know what you're asking. Here is an example of a two dimension lookup.
Valuation_Revised.xlsx
AO
3Formula
4175.04
5730.85
6186
7197
Destination-Expected Result
Cell Formulas
RangeFormula
AO4:AO7AO4=INDEX($AT$6:$BE$18,MATCH(B4&" Total",$AT$6:$AT$18,0),XMATCH("Month-"&M4,$AT$2:$BE$2,0,-1))

1684524323069.png
 
Upvote 0
Thanx C Moore,

It's not that I am expecting.Refer AZ column,this column data I require which is very much important.
Breakup of AM4 data which is 50.

Similarly breakup of AM5 data which is 213 shown in AZ below Product A.
Because without getting data in AZ column,I cannot get result in BA and AN column.Hence,AZ calculation is very much important.
I don't think with formula it is possible and is possible by VBA only.

Here,also I have presented data of Month 1 only in B:AN column.There will be of course month 2,Month 3,etc.also.whose result shall be in BB,BD and the like.
 
Upvote 0

Forum statistics

Threads
1,214,626
Messages
6,120,602
Members
448,974
Latest member
ChristineC

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