Should I put Time in double quotes in Excel

alipezu

Board Regular
Joined
Oct 18, 2016
Messages
51
Hi All,
What Am I doing wrong here in this formula?? I want to match my Time "7:15" with Range A2:A5. Sould I put time in double quotes or should not use quotes for time.?? the Formula below gives me an error although 7:15 exists in the range.
AB
7:15=MATCH("7:15",(A2:A5)
8:15
15:45
9:30

<tbody>
</tbody>
 
Last edited:

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,245
Office Version
  1. 365
Platform
  1. Windows
This should work ok for you:

=MATCH("7:15"+0,A2:A5,0)
 

jorismoerings

Well-known Member
Joined
Jul 4, 2014
Messages
1,284
Additional to Steve's suggestion:

Be aware the way: if you've formatted the cells containing timevalues as times; they could create a possible "not found" or "#N/A" caused by the difference in seconds or if there's a date in front which is not shown.
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,122,499
Messages
5,596,515
Members
414,074
Latest member
Matthew Kakde

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
Top