Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Micos3
 
Posts: n/a
Default warning with concatenated date

I'm making a table with double entry, that gives me one date. Cos the axis X,
are year, axis Y, are Month, and the cross of that 2 are the day.
With conditional format i know that i can put a warning that reaching near
of that date it would be activated.
My problem is how to extract that date to do the comparison.
I'm triyng with concatenate, but i'm not getting that can anyone help me?



  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default warning with concatenated date

If say B1 = Jan, C1 = Feb, etc
A2=2006 say
if B2 is day

then select the day fields starting at B2 and use a CF formula of

=AND(TODAY()<DATEVALUE(B2&"/"&B$1&"/"&$A2)+5,TODAY()DATEVALUE(B2&"/"&B$1&"/
"&$A2))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Micos3" wrote in message
...
I'm making a table with double entry, that gives me one date. Cos the axis

X,
are year, axis Y, are Month, and the cross of that 2 are the day.
With conditional format i know that i can put a warning that reaching near
of that date it would be activated.
My problem is how to extract that date to do the comparison.
I'm triyng with concatenate, but i'm not getting that can anyone help me?





  #3   Report Post  
Posted to microsoft.public.excel.misc
Micos3
 
Posts: n/a
Default warning with concatenated date

It worked just fine!!!
i applied to the formula below:
=if(today()<(datevalue(b2&"/"&b1&"/"&a2)-5);"Test";"Miss 5 Days...")

Now another problem has appeared, that is b1 and b2 depend where the day is,
because it can be in january but it can be in february, so i guess i need to
have a function (i only remember the portuguese name "proch" something like
search in line) to give back the day(b2), and the month(b1) with only this
formula.
At first sight, i will have only one date for every 12 months in any
register, so this formula needs to be like this, to adapt to every situation.
Can give me some help substitute b2 and b1 in formula for this function that
i name for?

Thanks again!!!



"Bob Phillips" escreveu:

If say B1 = Jan, C1 = Feb, etc
A2=2006 say
if B2 is day

then select the day fields starting at B2 and use a CF formula of

=AND(TODAY()<DATEVALUE(B2&"/"&B$1&"/"&$A2)+5,TODAY()DATEVALUE(B2&"/"&B$1&"/
"&$A2))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Micos3" wrote in message
...
I'm making a table with double entry, that gives me one date. Cos the axis

X,
are year, axis Y, are Month, and the cross of that 2 are the day.
With conditional format i know that i can put a warning that reaching near
of that date it would be activated.
My problem is how to extract that date to do the comparison.
I'm triyng with concatenate, but i'm not getting that can anyone help me?






  #4   Report Post  
Posted to microsoft.public.excel.misc
Micos3
 
Posts: n/a
Default warning with concatenated date

Hlookup function.
I'm trying to make it work but i'm not getting...

"Micos3" escreveu:

It worked just fine!!!
i applied to the formula below:
=if(today()<(datevalue(b2&"/"&b1&"/"&a2)-5);"Test";"Miss 5 Days...")

Now another problem has appeared, that is b1 and b2 depend where the day is,
because it can be in january but it can be in february, so i guess i need to
have a function (i only remember the portuguese name "proch" something like
search in line) to give back the day(b2), and the month(b1) with only this
formula.
At first sight, i will have only one date for every 12 months in any
register, so this formula needs to be like this, to adapt to every situation.
Can give me some help substitute b2 and b1 in formula for this function that
i name for?

Thanks again!!!



"Bob Phillips" escreveu:

If say B1 = Jan, C1 = Feb, etc
A2=2006 say
if B2 is day

then select the day fields starting at B2 and use a CF formula of

=AND(TODAY()<DATEVALUE(B2&"/"&B$1&"/"&$A2)+5,TODAY()DATEVALUE(B2&"/"&B$1&"/
"&$A2))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Micos3" wrote in message
...
I'm making a table with double entry, that gives me one date. Cos the axis

X,
are year, axis Y, are Month, and the cross of that 2 are the day.
With conditional format i know that i can put a warning that reaching near
of that date it would be activated.
My problem is how to extract that date to do the comparison.
I'm triyng with concatenate, but i'm not getting that can anyone help me?






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
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Adding XY days to date in cells satucha Excel Discussion (Misc queries) 1 November 25th 05 08:02 AM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
Date Math Problem Dkline Excel Worksheet Functions 4 March 4th 05 04:11 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 06:04 AM.

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

About Us

"It's about Microsoft Excel"