Using offset to calculate sum of data

Pinkerton420

New Member
Joined
Jun 14, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi All,

i am trying to create a formula which has 2 criteria and returns the sum of data but using offset.

So For example, look up cells Q7 & F9 from the P&L tab and look up in Data tab, and return me figures from AH to AU but only for those after what's in cell F2. So Cell F2 has Period 12 so I want to return sum of periods 13 and 14 i.e AT and AU. Attached some dummy data to this thread.

I have used offset but it needs to be dynamic so thinking sum product but can't get it to work!

1686753648345.png


1686753626415.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Your need is not understandable. The description is not very helpful and the pictures are barely readable.

Might you post a link to a workbook for a helper to work with? You'll get a better response if you do. Put the file on 1 drive, Dropbox, Google Drive etc. Use the link icon above the message area to post a link.
 
Upvote 0

Forum statistics

Threads
1,215,201
Messages
6,123,617
Members
449,109
Latest member
Sebas8956

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