Formula issue...

apatreau

Board Regular
Joined
Aug 11, 2008
Messages
52
Hi there,

I have built a budget tracker spreadsheet. Currently the below formula is pulling in TOO MUCH ranged data. I believe with the bolded portion below that I have asked it to take F17 (the date + 6 days) worth of information from my timecard worksheet...but it keeps taking the information for what seems like F17+7...when I try to make ANY changes to this formula, even if I change the +6 to again a +6 the total returned number ends up at zero...which is wrong.

I have never encountered something like this, any ideas?

=SUM(IF(TimeCards!$B$5:$B$300=SummaryAndForecast!$B20,IF(TimeCards!$D$5:$D$300=SummaryAndForecast!$E20,IF(TimeCards!$A$5:$A$300>=SummaryAndForecast!F$17,IF(TimeCards!$A$5:$A$300<=SummaryAndForecast!F$17+6,TimeCards!$C$5:$C$300)))))
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I'm assuming that you're remembering to enter this formula using ctrl + shift + enter? Sometimes when my formulas don't work it's something simple like this that I am absent-mindedly forgetting.

Hank
 
Upvote 0
Perhaps instead,

=SUMPRODUCT(
(TimeCards!$B$5:$B$300 = SummaryAndForecast!$B20) *
(TimeCards!$D$5:$D$300 = SummaryAndForecast!$E20) *
(TimeCards!$A$5:$A$300 >= SummaryAndForecast!F$17) *
(TimeCards!$A$5:$A$300 <= SummaryAndForecast!F$17+6), TimeCards!$C$5:$C$300)
 
Upvote 0
I'm assuming that you're remembering to enter this formula using ctrl + shift + enter? Sometimes when my formulas don't work it's something simple like this that I am absent-mindedly forgetting.

Hank

Yep, that was it! Somehow I've been using excel for years and years and have only twice needed to do this. Thanks!
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,716
Members
452,939
Latest member
WCrawford

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