#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Concatenate

I'm using the Concatenate function to return a date. My problem is that for
days that have single digits, I need it to be 01, 02, etc. How can I make
this work. Here is my formula:

IF(LEFT(T$19,2)="FY",S$20,IF(LEFT(T$19,2)="CY",S$2 0,IF(VLOOKUP(RIGHT(T$19,3),$I$25:$J$41,2,FALSE)=MO NTH($K$44),CONCATENATE(T$19,".",DAY($K$44)),EVTIM( $D$79,CONCATENATE(EVTIM($C$17,T$19,1),".","01"),-1))))

Thank you for any help you can provide.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Concatenate

Let me add that the date format, when complete would be 2009.Dec.09



"LWilson" wrote:

I'm using the Concatenate function to return a date. My problem is that for
days that have single digits, I need it to be 01, 02, etc. How can I make
this work. Here is my formula:

IF(LEFT(T$19,2)="FY",S$20,IF(LEFT(T$19,2)="CY",S$2 0,IF(VLOOKUP(RIGHT(T$19,3),$I$25:$J$41,2,FALSE)=MO NTH($K$44),CONCATENATE(T$19,".",DAY($K$44)),EVTIM( $D$79,CONCATENATE(EVTIM($C$17,T$19,1),".","01"),-1))))

Thank you for any help you can provide.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Concatenate

My problem is that for days that have single digits, I need it to be 01,
02, etc

=TEXT(DAY($K$44),"00")


"LWilson" wrote:

I'm using the Concatenate function to return a date. My problem is that for
days that have single digits, I need it to be 01, 02, etc. How can I make
this work. Here is my formula:

IF(LEFT(T$19,2)="FY",S$20,IF(LEFT(T$19,2)="CY",S$2 0,IF(VLOOKUP(RIGHT(T$19,3),$I$25:$J$41,2,FALSE)=MO NTH($K$44),CONCATENATE(T$19,".",DAY($K$44)),EVTIM( $D$79,CONCATENATE(EVTIM($C$17,T$19,1),".","01"),-1))))

Thank you for any help you can provide.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Concatenate

I believe this will work, but I'm having trouble determining where in my
formula it should go? I feel like an idiot. LOL! Thanks in advance for your
help!

"Teethless mama" wrote:

My problem is that for days that have single digits, I need it to be 01,

02, etc

=TEXT(DAY($K$44),"00")


"LWilson" wrote:

I'm using the Concatenate function to return a date. My problem is that for
days that have single digits, I need it to be 01, 02, etc. How can I make
this work. Here is my formula:

IF(LEFT(T$19,2)="FY",S$20,IF(LEFT(T$19,2)="CY",S$2 0,IF(VLOOKUP(RIGHT(T$19,3),$I$25:$J$41,2,FALSE)=MO NTH($K$44),CONCATENATE(T$19,".",DAY($K$44)),EVTIM( $D$79,CONCATENATE(EVTIM($C$17,T$19,1),".","01"),-1))))

Thank you for any help you can provide.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Concatenate

What "Teethless mama" has suggested is to replace

DAY($K$44)

with

TEXT(DAY($K$44),"00")

--
Jacob


"LWilson" wrote:

I believe this will work, but I'm having trouble determining where in my
formula it should go? I feel like an idiot. LOL! Thanks in advance for your
help!

"Teethless mama" wrote:

My problem is that for days that have single digits, I need it to be 01,

02, etc

=TEXT(DAY($K$44),"00")


"LWilson" wrote:

I'm using the Concatenate function to return a date. My problem is that for
days that have single digits, I need it to be 01, 02, etc. How can I make
this work. Here is my formula:

IF(LEFT(T$19,2)="FY",S$20,IF(LEFT(T$19,2)="CY",S$2 0,IF(VLOOKUP(RIGHT(T$19,3),$I$25:$J$41,2,FALSE)=MO NTH($K$44),CONCATENATE(T$19,".",DAY($K$44)),EVTIM( $D$79,CONCATENATE(EVTIM($C$17,T$19,1),".","01"),-1))))

Thank you for any help you can provide.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Concatenate

Thank you! I figured that out later!

"Jacob Skaria" wrote:

What "Teethless mama" has suggested is to replace

DAY($K$44)

with

TEXT(DAY($K$44),"00")

--
Jacob


"LWilson" wrote:

I believe this will work, but I'm having trouble determining where in my
formula it should go? I feel like an idiot. LOL! Thanks in advance for your
help!

"Teethless mama" wrote:

My problem is that for days that have single digits, I need it to be 01,
02, etc

=TEXT(DAY($K$44),"00")


"LWilson" wrote:

I'm using the Concatenate function to return a date. My problem is that for
days that have single digits, I need it to be 01, 02, etc. How can I make
this work. Here is my formula:

IF(LEFT(T$19,2)="FY",S$20,IF(LEFT(T$19,2)="CY",S$2 0,IF(VLOOKUP(RIGHT(T$19,3),$I$25:$J$41,2,FALSE)=MO NTH($K$44),CONCATENATE(T$19,".",DAY($K$44)),EVTIM( $D$79,CONCATENATE(EVTIM($C$17,T$19,1),".","01"),-1))))

Thank you for any help you can provide.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CONCATENATE kyoshirou Excel Discussion (Misc queries) 2 March 3rd 08 09:14 PM
Concatenate Morrigan Excel Discussion (Misc queries) 5 May 24th 06 11:04 PM
Need to Concatenate hamster Excel Discussion (Misc queries) 9 November 11th 05 09:18 AM
I know how to concatenate ,can one de-concatenate to split date? QUICK BOOKS PROBLEM- New Users to Excel 1 July 26th 05 05:07 PM
Un-concatenate James Hamilton Excel Discussion (Misc queries) 7 June 10th 05 01:09 AM


All times are GMT +1. The time now is 11:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"