Multiple Formulas

McTam

Board Regular
Joined
Sep 15, 2006
Messages
91
I wonder if someone can help me please. I am trying to set up a monthly accounts sheet which is taking information from other sheets. I am using SUMIF but I need to add another variant for a date range. Is there any way I can do this? The formula reads,
=SUMIF('Profit (10-11)'!A3:A101,TY!A14,'Profit (10-11)'!J3:J101)
So as you can see it is looking at a profit sheet and using a title (A14) for the search. Unfortunately this is a monthly sheet and the row across the top has the date range e.g. Jan 11. Ideally what I would like to do is search the date as well. Any ideas? I can always try to copy the sheet but it is quite big and I am not too sure whether the information would be clear?

Thank you in advance Alex
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
So is column J one of the months? If so where do the months start, which column? And do you also need to take the year into consideration?
 
Upvote 0
Is this maybe what you are trying to do, this is just a simplistic example:
Excel Workbook
IJKLM
1JanFebMarApr
2rob1234
3joe4321
4joe1
5
64
Sheet15
Cell Formulas
RangeFormula
K6=SUMIF(I2:I5,"joe",OFFSET(J2:J5,0,MATCH("Feb",J1:M1,0)-1))

Hope that helps.
 
Upvote 0
Thank you for your response, sorry for the delay I have been on a site so couldn't get access. I will try your formula but in answer to your first question normally the date range would start in Column B. Unfortunately I can't upload to the site as the HTML maker is not available. I have been asked to put this together by my MD and I think it is a bit above my pay grade (if you know what I mean). This will need to be updated every month and it is pulled from three other linked sheets. I have copied what I can into one sheet but obviously I would need to updated that monthly. Anyway thanks for your help,

Regards Alex
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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