PowerPivot Max from certain columns

Craigc3814

Board Regular
Joined
Mar 7, 2016
Messages
217
Using PowerPivot

My source data looks like the bold data below (note that the column headings change as the year goes on, only the most recent 11 invoices are brought into the data).

What I want to create is the numbered columns where number 1 looks for the max value between all 11 date columns and returns the max, then column 2 looks for the max between the last 10 (February-November) columns, column 3 looks for the max between the last 9 columns (March - November), all the way until the new column number 11 just returns the last date column.

Is this possible? using the max formula it tells me I can only look up two values, using Maxx from my understanding will always look through the entire row.


<colgroup><col><col><col span="9"><col span="2"><col span="9"><col span="2"></colgroup><tbody>
</tbody>
WhereType1/1/20182/1/20183/1/20184/1/20185/1/20186/1/20187/1/20188/1/20189/1/201810/1/201811/1/20181234567891011
HomeBMD1005075809080506075808010090909090808080808080

<colgroup><col><col><col span="9"><col span="2"><col span="9"><col span="2"></colgroup><tbody>
</tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,214,386
Messages
6,119,212
Members
448,874
Latest member
b1step2far

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