Find the position of a date.

eduzs

Well-known Member
Joined
Jul 6, 2014
Messages
704
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
In column "A" I have texts, values, and one cell with a DATE.
I need to find in which row is there this date.
Is there a formula to do that?
Many thanks
 
Rick,
The stock market in Brazil is up. The IBOVESPA (general index as the Dow Jones in US) today stands at more than 70,000 points.
So your formula is a bit risky ...
I specifically followed up your question by asking the OP to "show us actual values that could be in the cells (do not simplify things by using 1, 2, 3, etc. for you numbers unless those are your real numbers)"... the OP responded with a maximum number of 54... since that is significantly lower than 42,991 (todays date serial number), I figured using MAX was safe. If the OP lies to us when we ask for clarification, then that OP will simply get suggestions that do not work (sort of a garbage in, garbage out situation).
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Rick,
The stock market in Brazil is up. The IBOVESPA (general index as the Dow Jones in US) today stands at more than 70,000 points.
So your formula is a bit risky ...

Just kidding. :)
Of course you could not know that the data refer to stock quotes in Brazil - the text is in Portuguese.

M.

As there's no ISDATE() function and I prefer formula based solution, I got this formula with help from this forum:

Code:
=SUMIFS($A$1:$A$1000,$A$1:$A$1000,">"&DATEVALUE("1/1/"&YEAR(NOW())),$A$1:$A$1000,"<="&DATEVALUE("31/12/"&YEAR(NOW())))

Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,833
Messages
6,181,237
Members
453,026
Latest member
cknader

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