help needed with difficult excel formula

JRAMZ88

New Member
Joined
Jun 7, 2017
Messages
28
Office Version
  1. 365
Platform
  1. Windows
First off, thank you to all in advance for helping me solve this formula request.. I truly appreciate the time and effort every time I've reached out for help.

Secondly, I'm not able to use the excel plugin due to the company issued laptop I am using.. I apologize in advance as i understand it's preferred.

With that, can someone please help me with the following?

Looking for a formula that when Current Period in Cell A1 gets updated, that it sums all activity spanning Period 1 through Period 3 in the table below for the Account in cell A2.
Image with sample data is attached.


Thank you again!!
 

Attachments

  • sample.JPG
    sample.JPG
    67.2 KB · Views: 6

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
If A1 was 2 would you only want to sum periods 1 & 2?
 
Upvote 0
Ok, how about
Excel Formula:
=SUMPRODUCT((A7:A11=A2)*(B6:D6<=A1),B7:D11)
 
Upvote 1
Solution
Thank you @Fluff !! Works flawlessly.. thank you for helping me.

I've marked as solution and thread can be closed.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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