Match Sum of Cells in multiple columns and ignore blanks

ShelleyBelly

New Member
Joined
Mar 2, 2011
Messages
44
Hello All,

I thought I'd nailed this but I think I'm well off the mark. I've two columns, one with dates and one with times, side by side, they'll be entered by humans and so keeping date and time separate is essential to avoid a **** up from the beginning. I then have a cell with a single cell with date and time combined. I require a match function to find the same of closest lesser date time to the date time in the single cell. Because there will be humans involved i also require it to ignore blank and only partially filled dates times. Oh and of course, the human will not have entered the dates or times in ascending of descending order.


Fri 20 Jan 2017 02:00 -> should return row 9, or number 9

Mon 23 Jan 2017 06:45
Tue 17 Jan 2017 06:45

Tue 24 Jan 2017 06:45
07:00
Fri 20 Jan 2017 06:45
Sat 21 Jan 2017 06:00

Thu 19 Jan 2017 07:00
Sat 21 Jan 2017
Wed 25 Jan 2017 06:45

Many thanks in advance,

Tom
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
you could use data validation

date is an integer count from 1/1/1900
and time is the decimal part

so you could in column A use data validation for whole value >0
and in column B use data validation for for decimal between 0 and 1
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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