Formula help: If cell equals Sheet name - Maxifs

Cristinky420

New Member
Joined
Feb 13, 2019
Messages
17
Looking for help on a formula.

I'm working in B2

if A2 value = Sheet name value

return the most recent date (max) in that Sheet Name range A:A

I hope this makes sense. You gurus are awesome by the way!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
How about
=IFERROR(MAX(INDIRECT("'"&A2&"'!A:A")),"")
 
Upvote 0
This didn't work... but wow that was a speedy response!

So, my master sheet A2 is a client number... ie 0001

I have sheets named for each client 0001, 0002 etc

on Sheet "0001" the A5:A(infinity) will contain dates for each interaction with the client

I want my master sheet to reflect the latest (not last) date entered in that sheet
 
Upvote 0
What did it return?
Also are you sure that all your dates are real dates, rather than text?

I have


Excel 2013/2016
A
1Introduced
201/01/1980
301/12/2001
401/01/2008
502/01/2008
603/01/2008
701/12/1998
801/02/2008
902/02/2008
1003/02/2008
1104/02/2008
1201/12/2001
1302/12/2001
1403/12/2001
1504/12/2001
0001


And get


Excel 2013/2016
AB
2000104/02/2008
List
Cell Formulas
RangeFormula
B2=IFERROR(MAX(INDIRECT("'"&A2&"'!A:A")),"")
 
Upvote 0
I double checked the formatting and both columns on each sheet are set to dd/mm/yyyy
On my "Master" page I'm working in the D column - D2 for Client 0001 in A2. I'm copying the formula into D2 and am not getting any result, just a blank cell.
On my "0001" page my dates are listed from A5:A.......
 
Upvote 0
If you change the format on sheet 0001 to general, do your dates turn into numbers?
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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