Summing Shortcut

segran

Active Member
Joined
Aug 20, 2004
Messages
335
Hi,

I would like to create a shortcut for this summing problem:
<html><head><title>Excel Jeanie HTML</title></head><body>

<!-- ######### Start Created Html Code To Copy ########## -->

Excel Workbook
ABCDEFGH
1********
2*MondayTuesdayWednesdayThursdayFridaySaturdaySunday
3*1234567
4********
5If Today isWhats left in the week******
6Monday27*****
7Tuesday25*****
8Wednesday22*****
9Thursday18*****
10Friday13*****
11Saturday7*****
Sheet1




<!-- ######### End Created Html Code To Copy ########## -->

</body></html>

Thank You
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
There may be better ways of doing this, but this works for your sample...

Code:
=SUM(OFFSET(B3,0,MATCH(A6,B2:H2,0),1,7-MATCH(A6,B2:H2,0)))

where A6 contains the date you are plugging in.
 
Upvote 0
Is this what you mean? It was Friday here when I took the screen shot.

Excel Workbook
ABCDEFGH
1
2MondayTuesdayWednesdayThursdayFridaySaturdaySunday
31234567
4
513
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,786
Members
452,942
Latest member
VijayNewtoExcel

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