Help with excel formula

eviehc123

New Member
Joined
Jan 21, 2019
Messages
32
Hi all,

I am having issues with the following formula:
=COUNTIFS('Raw Data - Travel'!D2:D350,">"&'Total Summary Data - Travel'!B3,'Raw Data - Travel'!D2:D350,"<"&'Total Summary Data - Travel'!C3)

Cells B3 & C3 are start and end dates.

D2:D350 contains dates.

The formula works perfectly fine with the data that is already there. However, as soon as I paste (as values) new dates in collumn D, it just stops working. What I mean by stops working is it doesn't pick up any dates in the specified range even if there are dates there. For example, It displays 0 even if it should show 3.

I have racked my brain to try and work out why this may happen but I am stumped.

Does anyone know why this may occur?

Thanks in advance
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Make sure the dates you have pasted in are real dates & not text.
 
Upvote 0
Make sure the dates you have pasted in are real dates & not text.

Thanks! The formatting is correct on the spreadsheet I'm pasting into but the dates are stored as text on the spreadsheet I'm copying the dates from!! Perfect quick solve haha. Thank you.
 
Upvote 0

Forum statistics

Threads
1,215,044
Messages
6,122,827
Members
449,096
Latest member
Erald

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