# Sum of Hours w.r.t Today's Date

#### shashik

##### New Member
So Friends,

I need help regarding below table.

I needs "Hours" for respective Resource, basis the current day.

Please note the range of dates extends beyond below table.

I tried doing it by IF function, but it is too complicated for me after 1st/2nd Logic for me.

 27-Nov-17 04-Nov-17 11-Nov-17 18-Nov-17 25-Nov-17 02-Dec-17 09-Dec-17 16-Dec-17 23-Dec-17 30-Dec-17 Project Hours 10-Nov-17 17-Nov-17 24-Nov-17 01-Dec-17 08-Dec-17 15-Dec-17 22-Dec-17 29-Dec-17 05-Jan-18 Resource 1 20 20 20 20 20 20 20 20 20 Resource 2 5 5 5 5 5 5 5 5 5 Resource 3 10 10 10 10 10 10 10 10 10 Resource 4 40 40 40

<tbody>
</tbody>

### Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

#### shashik

##### New Member
Please Note I need the Sum of Hours including the future basis the current date.

So Friends,

I need help regarding below table.

I needs "Hours" for respective Resource, basis the current day.

Please note the range of dates extends beyond below table.

I tried doing it by IF function, but it is too complicated for me after 1st/2nd Logic for me.

 27-Nov-17 04-Nov-17 11-Nov-17 18-Nov-17 25-Nov-17 02-Dec-17 09-Dec-17 16-Dec-17 23-Dec-17 30-Dec-17 Project Hours 10-Nov-17 17-Nov-17 24-Nov-17 01-Dec-17 08-Dec-17 15-Dec-17 22-Dec-17 29-Dec-17 05-Jan-18 Resource 1 20 20 20 20 20 20 20 20 20 Resource 2 5 5 5 5 5 5 5 5 5 Resource 3 10 10 10 10 10 10 10 10 10 Resource 4 40 40 40

<tbody>
</tbody>

#### steve the fish

##### Well-known Member
What does the below mean?

Please Note I need the Sum of Hours including the future basis the current date.

#### shashik

##### New Member
What does the below mean?

So Today is 27-11. So the Total no of hours for Resource 1 should be sum of all columns from week 25-Nov to 1-Dec-17 to the last week i.e. 30-Dec to 05-Jan.

So in this case it would be 120 Hours.

Consider this as a calculation of sum of hours the Resource is allocated each from today.

#### steve the fish

##### Well-known Member
This perhaps:

=SUMIFS(C3:K3,\$C\$2:\$K\$2,">="&\$A\$1)

#### shashik

##### New Member
This perhaps:

=SUMIFS(C3:K3,\$C\$2:\$K\$2,">="&\$A\$1)

It works perfectly.

Replies
6
Views
205
Replies
3
Views
90
Replies
1
Views
127
Replies
1
Views
91
Replies
8
Views
253

1,130,310
Messages
5,641,450
Members
417,210
Latest member
rins

### 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.

### Which adblocker are you using?

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

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