Formula selected from values in list

drluke

Active Member
Joined
Apr 17, 2014
Messages
314
Office Version
  1. 365
Platform
  1. Windows
In my worksheet I have a summary table like this:
SUMMARY TABLE
ABCDE
1PERIOD1Jan-18
2
3Cust #BAL B/FSALESRETURNSW/OFFS
4A001
5A002
6A003
B1=value selected from a dropdown, here representing January.
I also have a table with formulas that calculate the values that must go into col B-E of the summary table.

<colgroup><col width="71" span="17" style="width: 53pt;"></colgroup><tbody>
</tbody>
FORMULA TABLE
ABCDE
1 1234
2BAL B/F=IF(INDEX(DATA!$A$11:$P$87,MATCH($A$7,DATA!A$11:$A$87,0),1)=$A$7,OFFSET(DATA!$P$11,0,(-DATA!$P$8)),"Error")
3SALES=IF(INDEX(DATA!$R$11:$AG$87,MATCH($A$7,DATA!$R$11:$R$87,0),1)=$A$7,OFFSET(DATA!$AG$11,0,(-DATA!$P$8)),"Error")
4RETURNS=IF(INDEX(DATA!$AI$11:$AX$87,MATCH($A$7,DATA!$AI$11:$AI$87,0),1)=$A$7,OFFSET(DATA!$AX$11,0,(-DATA!$AX$8)),"Error")
5W/OFFS=IF(INDEX(DATA!$AZ$11:$BO$87,MATCH($A$7,DATA!$AZ$11:$AZ$87,0),1)=$A$7,OFFSET(DATA!$BO$11,0,(-DATA!$BO$8)),"Error")

<colgroup><col width="73" span="2" style="width: 55pt;"><col width="431" style="width: 323pt;"><col width="73" span="3" style="width: 55pt;"></colgroup><tbody>
</tbody>
I want to know if it's possible to update the summary table with the correct result based on the formulas in the formula table, for each customer listed in col A everytime a new value is selected
in B1.
In this case the formulas in col B of the formula table would have to be applied in te summary table because B1=1 in the summary.

<colgroup><col width="71" span="17" style="width: 53pt;"></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.

Forum statistics

Threads
1,214,911
Messages
6,122,194
Members
449,072
Latest member
DW Draft

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