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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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