Referencing cell one above the current row in a structured table

SanjayGMusafir

Well-known Member
Joined
Sep 7, 2018
Messages
1,507
Office Version
  1. 2024
Platform
  1. Windows
Hi Experts,
Got stuck up with a situation where I want to tell excel to add values in a Column from Header to the row one above current row.

Unable to figure out how to reference a cell above in a structured table.

The formula I'm currently using is -

Excel Formula:
SUMIFS((Banks[[#Headers],[Less]]:[@Less]),(Banks[[#Headers],[Acc]]:[@Acc]),[@Acc],(Banks[[#Headers],[Dt]]:[@Dt]),"<"&[@Dt])

The above works fine.

But want to change the red part below from the above formula to get the desired result

(Banks[[#Headers],[Less]]:[@Less])

Please help.

Thanks a lot
 
Now that I understand your formula a little better, you can do it with offset but it wouldn't be nearly as efficient as Peter's version.

Excel Formula:
=SUMIFS((Banks[[#Headers],[Less]]:OFFSET([@Less],-1,0)),
                 (Banks[[#Headers],[Acc]]:OFFSET([@Acc],-1,0)),[@Acc],
                 (Banks[[#Headers],[Dt]]:OFFSET([@Dt],-1,0)),"<="&[@Dt])
Alex I tried it just now, It's working properly. I believe the error was due to pasted blank values that I have cleared now. This was the formula, I myself tried initially.

Thanks Alex for your help and patience.
 
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

Forum statistics

Threads
1,224,737
Messages
6,180,657
Members
452,992
Latest member
TokugawaIesuma

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