Sum + Choose + Start + End

Scipio

New Member
Joined
Aug 11, 2020
Messages
23
Office Version
  1. 365
Platform
  1. Windows
=SUM(CHOOSE('Gross Profit Analysis Tool v.6 No macros (From Chase Tues. PM).xlsx'!Start,Pln_RV!F8,Pln_RV!G8,Pln_RV!H8,Pln_RV!I8,Pln_RV!J8,Pln_RV!K8,Pln_RV!L8,Pln_RV!M8,Pln_RV!N8,Pln_RV!O8,Pln_RV!P8,Pln_RV!Q8):CHOOSE('Gross Profit Analysis Tool v.6 No macros (From Chase Tues. PM).xlsx'!End,Pln_RV!F8,Pln_RV!G8,Pln_RV!H8,Pln_RV!I8,Pln_RV!J8,Pln_RV!K8,Pln_RV!L8,Pln_RV!M8,Pln_RV!N8,Pln_RV!O8,Pln_RV!P8,Pln_RV!Q8))

I'm unsure how to interpret the formula above, particularly the use of the "Start" and "End" parts of the formula.

Can anyone help?

Many thanks.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Start and end appear to be named ranges in the 'Gross Profit Analysis Tool' workbook, those named ranges will be referring to cells (or formulas) that return 2 numbers between 1 and 12 (I'm going to guess that Pln_RV contains 1 column per month?

The 2 choose functions each return a cell based on the numbers returned from the 2 named ranges, which together will make a range for the sum function to add up.

An alternative formula that you may find a little easier to understand.
Excel Formula:
=SUM(INDEX(Pln_RV!F8:Q8,'Gross Profit Analysis Tool v.6 No macros (From Chase Tues. PM).xlsx'!Start):INDEX(Pln_RV!F8:Q8,'Gross Profit Analysis Tool v.6 No macros (From Chase Tues. PM).xlsx'!End))
 
Upvote 0
Start and end appear to be named ranges in the 'Gross Profit Analysis Tool' workbook, those named ranges will be referring to cells (or formulas) that return 2 numbers between 1 and 12 (I'm going to guess that Pln_RV contains 1 column per month?

The 2 choose functions each return a cell based on the numbers returned from the 2 named ranges, which together will make a range for the sum function to add up.

An alternative formula that you may find a little easier to understand.
Excel Formula:
=SUM(INDEX(Pln_RV!F8:Q8,'Gross Profit Analysis Tool v.6 No macros (From Chase Tues. PM).xlsx'!Start):INDEX(Pln_RV!F8:Q8,'Gross Profit Analysis Tool v.6 No macros (From Chase Tues. PM).xlsx'!End))
I see where the named cells are now and understand the formula --- that was the key to understanding. Many thanks Jasonb75.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
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