WorksheetFunction.Match cannot find what "=match()" formula can find in worksheet

Status
Not open for further replies.

ironny90

Board Regular
Joined
Mar 29, 2022
Messages
72
Office Version
  1. 2010
Platform
  1. Windows
Hi there! I am trying to find a date Mar-22 in an excel sheet. The column starts with 1/31/2022 and goes down with "=eomonth()" formula. Mar-22 is calculated as "=eomonth(A2,1)" and format is date.

I tried to use Ctrl + F to find the date (tried 3/31/2022, 03/31/2022, 44651, etc.), but didn't succeed. I used "=match()" formula to search 44651, the date serial, and succeeded.

Now I am trying to use worksheetfunction.match in vba to find that cell (with 44651), but it didn't find anything.

My goal is to find that cell and activate the row in vba. Can anyone help? Thank you!!!
 

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.
Hi Jason! Thank you for your quick response! I just posted this. My goal is to use vba to activate the row that cell is in. Can you help with vba as well?

Hi there! I am trying to find a date Mar-22 in an excel sheet. The column starts with 1/31/2022 and goes down with "=eomonth()" formula. Mar-22 is calculated as "=eomonth(A2,1)" and format is date.

I tried to use Ctrl + F to find the date (tried 3/31/2022, 03/31/2022, 44651, etc.), but didn't succeed. I used "=match()" formula to search 44651, the date serial, and succeeded.

Now I am trying to use worksheetfunction.match in vba to find that cell (with 44651), but it didn't find anything.

My goal is to find that cell and activate the row in vba. Can anyone help? Thank you!!!
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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