Specific Formatting from Sheet to Sheet

psulions83

Board Regular
Joined
Nov 16, 2015
Messages
126
Hi All,

I have been searching for a solution for this and have not found anything. There may be something out there and I didn't search for the correct thing.

The below formula stacks the two dates on Sheet 1.

=TEXT(IF(D6="Y",F6-60,"N/A"),"mm/dd/yyyy")&CHAR(10)&(IF(D6="Y",IF(OR(MONTH(F6)=1,MONTH(F6)=2,MONTH(F6)=3),"4/30/"&YEAR(F6),
IF(OR(MONTH(F6)=4,MONTH(F6)=5,MONTH(F6)=6),"7/31/"&YEAR(F6),
IF(OR(MONTH(F6)=7,MONTH(F6)=8,MONTH(F6)=9),"10/31/"&YEAR(F6),
IF(OR(MONTH(F6)=10,MONTH(F6)=11,MONTH(F6)=12),"1/31/"&YEAR(F6)+1)))),"N/A"))

Results on Sheet 1 -
05/02/2023
10/31/2023

On Sheet 2 I am looking that value up and it does not format them in the same manner that it does.

Results on Sheet 2 using the following formula - =VLOOKUP(A5,'Sheet 1'!A:Y,25,0)
1682697283363.png


Any help would be greatly appreciated.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Make sure that Wrap Text is turned on for that cell.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,175
Members
448,870
Latest member
max_pedreira

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