Formula to show me if document has been saved as name in a cell

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,
I need a formula to do the following

If AB25 = the name of this document, then "Saved" else "Not saved"

So what i'm trying too do is see if I have saved the document
AB25 is the cell I'll try the name of the document into so it might say "Tonys Test Doc"
so i want the formula to check if thats the documents name.

please help if you can

Thanks

Tony
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Edit the Cell data and location for your information; just change the B3 to your reference AB25.
If you have the new LET function use it instead of V() in the second alternative; if you do not have Let or the UDF V() you can ignore the second alternative.

T202011a.xlsm
ABC
1
2File NameMatch
3T202011aSaved
4T202011aT202011aSaved
5T202011aT202011aSaved
6
1d
Cell Formulas
RangeFormula
A4A4=REPLACE(LEFT(CELL("filename",A1),FIND(".",CELL("filename",A1))-1),1,FIND("[",CELL("filename",A1)),"")
A5A5=REPLACE(LEFT(V(CELL("filename",A1)),FIND(".",V())-1),1,FIND("[",V()),"")
C3C3=IF(REPLACE(LEFT(CELL("filename",A1),FIND(".",CELL("filename",A1))-1),1,FIND("[",CELL("filename",A1)),"")=B3, "Saved","Not Saved")
C4:C5C4=IF(A4=B4, "Saved","Not Saved")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,619
Messages
6,120,550
Members
448,970
Latest member
kennimack

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