Referencing cell one above the current row in a structured table

SanjayGMusafir

Well-known Member
Joined
Sep 7, 2018
Messages
1,462
Office Version
  1. 2021
Platform
  1. MacOS
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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,215,829
Messages
6,127,127
Members
449,361
Latest member
VBquery757

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