+ Reply to Thread
Results 1 to 70 of 70

Joining String with function in IF()?

  1. #1
    Forum Contributor
    Join Date
    07-29-2005
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    253

    Question Joining String with function in IF()?

    A B
    1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())

    Can I join a string like "Deposited on" with a function like above? I wanted to make it auto update on the date when I key in $100.

    Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the date out.Pls help
    Last edited by Lewis Koh; 07-30-2005 at 04:33 AM.

  2. #2
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning Lewis Koh

    Use this formula :

    =IF(ISBLANK(A1)=FALSE,NOW(),"")

    and change the format of the cell containing it (Ctrl + 1, select Number, Custom and type in the "Type:" box) to:

    "Deposited On "dd/mm/yy

    HTH

    DominicB

  4. #4
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  5. #5
    Forum Contributor
    Join Date
    07-29-2005
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    253
    so there is no way of fixing the date to the date I key in "A1" other than typing the fix date manually?

  6. #6
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  7. #7
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  8. #8
    Forum Contributor
    Join Date
    07-29-2005
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    253
    The setup is as below:

    A B
    1 $100 Deposited on "date which A1 is entered".

    I have trouble playing with VBA. Not sure where to start...It's under Tools>Marco>Visuakl Basic Editor right?

  9. #9
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  10. #10
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  11. #11
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  12. #12
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  13. #13
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  14. #14
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  15. #15
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  16. #16
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  17. #17
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  18. #18
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  19. #19
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  20. #20
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  21. #21
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  22. #22
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  23. #23
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  24. #24
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  25. #25
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  26. #26
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  27. #27
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  28. #28
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  29. #29
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  30. #30
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  31. #31
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  32. #32
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  33. #33
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  34. #34
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  35. #35
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  36. #36
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  37. #37
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  38. #38
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  39. #39
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  40. #40
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  41. #41
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  42. #42
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  43. #43
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  44. #44
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  45. #45
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  46. #46
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  47. #47
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  48. #48
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  49. #49
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  50. #50
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  51. #51
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  52. #52
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  53. #53
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  54. #54
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  55. #55
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  56. #56
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  57. #57
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  58. #58
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  59. #59
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  60. #60
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  61. #61
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  62. #62
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  63. #63
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  64. #64
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  65. #65
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  66. #66
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




  67. #67
    Jerry W. Lewis
    Guest

    Re: Joining String with function in IF()?

    Additional info:

    This works because Excel dates are stored as # days since 1900 (so 38563
    corresponds to 30Jul2005) and time is stored as the decimal fraction of
    24 hours (so .68864 corresponds to 4:31 PM. Formatting as Date/Time, as
    in the TEXT function reveals this correspondance.

    Jerry

    KL wrote:

    > Hi,
    >
    > Try this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))
    >
    > or
    >
    > =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))
    >
    > Please note that both functions NOW and TODAY are volatile so they will
    > change as time passes. If you want to fix the date you will have to copy it
    > and paste values.
    >
    > Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    > do this:
    >
    > =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")
    >
    > Regards,
    > KL
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >
    >>A B
    >>1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >>
    >>Can I join a string like "Deposited on" with a function like above? I
    >>wanted to make it auto update on the date when I key in $100.
    >>
    >>Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    >>date out.Pls help
    >>
    >>
    >>--
    >>Lewis Koh
    >>------------------------------------------------------------------------
    >>Lewis Koh's Profile:
    >>http://www.excelforum.com/member.php...o&userid=25712
    >>View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >>
    >>

    >
    >



  68. #68
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Try this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"))

    or

    =IF(A1<>"", "Deposited on" & TEXT(NOW(),"dd-mmm-yyyy"))

    Please note that both functions NOW and TODAY are volatile so they will
    change as time passes. If you want to fix the date you will have to copy it
    and paste values.

    Also, your formula will return FALSE if the cell A1 is blank. To avoid that
    do this:

    =IF(A1<>"", "Deposited on" & TEXT(TODAY(),"dd-mmm-yyyy"),"")

    Regards,
    KL

    "Lewis Koh" <[email protected]> wrote
    in message news:[email protected]...
    >
    > A B
    > 1 $100 =IF(NOT(ISBLANK(A1)), "Deposited on" + NOW())
    >
    > Can I join a string like "Deposited on" with a function like above? I
    > wanted to make it auto update on the date when I key in $100.
    >
    > Why does =IF(NOT(ISBLANK(A1)),NOW()) shows 38563.68864? I can't get the
    > date out.Pls help
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  69. #69
    KL
    Guest

    Re: Joining String with function in IF()?

    Hi,

    Well, not exactly:

    1) semi-manual - select the cell in question and hit Alt+;(semicolon)

    2) Using VBA code assocviated with the Change event of the worksheet. Let us
    know if you need help putting it together and obviously a bit more of detail
    regarding the setup of your sheet..

    Regards,
    KL


    "Lewis Koh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > so there is no way of fixing the date to the date I key in "A1" other
    > than typing the fix date manually?
    >
    >
    > --
    > Lewis Koh
    > ------------------------------------------------------------------------
    > Lewis Koh's Profile:
    > http://www.excelforum.com/member.php...o&userid=25712
    > View this thread: http://www.excelforum.com/showthread...hreadid=391511
    >




  70. #70
    KL
    Guest

    Re: Joining String with function in IF()?

    sorry, you need to hit "Ctrl+;" (not Alt+ in the first solution.

    KL


    "KL" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Well, not exactly:
    >
    > 1) semi-manual - select the cell in question and hit Alt+;(semicolon)
    >
    > 2) Using VBA code assocviated with the Change event of the worksheet. Let
    > us know if you need help putting it together and obviously a bit more of
    > detail regarding the setup of your sheet..
    >
    > Regards,
    > KL
    >
    >
    > "Lewis Koh" <[email protected]> wrote
    > in message news:[email protected]...
    >>
    >> so there is no way of fixing the date to the date I key in "A1" other
    >> than typing the fix date manually?
    >>
    >>
    >> --
    >> Lewis Koh
    >> ------------------------------------------------------------------------
    >> Lewis Koh's Profile:
    >> http://www.excelforum.com/member.php...o&userid=25712
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=391511
    >>

    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1