Using the results of a formula as part of a new formula

xcl1997

New Member
Joined
Sep 12, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Is there a way to turn C4 into a formula that actually performs a sum range of the result produced by the formula that's already in the cell? Referencing C4 in a sum range from another cell works (for example, [SUM(INDIRECT(C4))] in C5 produces the correct value of "0"). But is there a way to do it all within the same cell?

9-16-22 MrExcel.xlsx
CDEFGHIJKL
4'Daily Tally'!G7702:G7722'Daily Tally'!H7702:H7722'Daily Tally'!I7702:I7722'Daily Tally'!J7702:J7722'Daily Tally'!K7702:K7722'Daily Tally'!L7702:L7722'Daily Tally'!M7702:M7722'Daily Tally'!N7702:N7722'Daily Tally'!O7702:O7722'Daily Tally'!P7702:P7722
50000000002.25
Sheet1
Cell Formulas
RangeFormula
C4:HR4C4="'Daily Tally'!"&SUBSTITUTE(ADDRESS(1,MATCH(SORT('Daily Tally'!G2#),C3:HV3,0)+6,4),"1","")&XMATCH(B389,'Daily Tally'!A:A,0)&":"&SUBSTITUTE(ADDRESS(1,MATCH(SORT('Daily Tally'!G2#),C3:HV3,0)+6,4),"1","")&XMATCH(B389+1,'Daily Tally'!A:A,0)-1
C5:L5C5=SUM(INDIRECT(C4))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
DailyTallyData='Daily Tally'!$A$5:$D$6644C4
 
In that case I would suggest you stick with your original solution.
Fine. You don't want to help, then don't. But you had a suggestion for me, I have one for you - if you're really here to help people, rather than imply they give up on their goal, you should brush up on your spreadsheet skills instead.
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I would suggest that you learn a little patience, I was only on site for a very brief period yesterday & did not have a chance to review this further.
Also maybe you are the one who needs to "brush up on your spreadsheet skills" as you are the one asking for help.
 
Upvote 0
I would suggest that you learn a little patience, I was only on site for a very brief period yesterday & did not have a chance to review this further.
Also maybe you are the one who needs to "brush up on your spreadsheet skills" as you are the one asking for help.
Exactly, I'm asking for your help. But you're not helping when you get frustrated because you can't resolve a problem I present, and then imply I also give up on the problem.
 
Upvote 0
I am not frustrated in any way, but sometimes it is better to use an old style formula that needs to be dragged, rather than horrendous complex formula that will spill.
 
Upvote 0
I am not frustrated in any way, but sometimes it is better to use an old style formula that needs to be dragged, rather than horrendous complex formula that will spill.
True. Just wanted to see if it could be done.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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