+ Reply to Thread
Results 1 to 8 of 8

How to refer to a data in a cell where the value is a formula

  1. #1
    crapit
    Guest

    How to refer to a data in a cell where the value is a formula

    as above



  2. #2
    sweet_dreams
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    if you want to use value form the cell you simply have to give it's
    address. it doesn't matter if there is a formula in cell or not

    sweet_dreams


  3. #3
    crapit
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    I'm using it in conditional format. Cells custom format to "DDD" (w/o
    quote)

    A1 = 23/01/06 which give "MON"
    B1 = A1 + 1 which give "TUE"
    B2 using conditional formatting =B1="Tue", cell shading color = red

    A B C
    1 MON TUE
    2
    3


    "sweet_dreams" <sweet_dreams@o2.pl> wrote in message
    news:1138017127.286822.27280@o13g2000cwo.googlegroups.com...
    > if you want to use value form the cell you simply have to give it's
    > address. it doesn't matter if there is a formula in cell or not
    >
    > sweet_dreams
    >




  4. #4
    Dave Peterson
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    The value in the cell and what you see are two different things--especially with
    dates (and numbers (like money)).

    If you want to check to see if a date is a Tuesday:

    =WEEKDAY(A1,2)=2

    (Check excel's help for =weekday() and you'll see that that ",2" means start
    counting with Monday = 1.



    crapit wrote:
    >
    > I'm using it in conditional format. Cells custom format to "DDD" (w/o
    > quote)
    >
    > A1 = 23/01/06 which give "MON"
    > B1 = A1 + 1 which give "TUE"
    > B2 using conditional formatting =B1="Tue", cell shading color = red
    >
    > A B C
    > 1 MON TUE
    > 2
    > 3
    >
    > "sweet_dreams" <sweet_dreams@o2.pl> wrote in message
    > news:1138017127.286822.27280@o13g2000cwo.googlegroups.com...
    > > if you want to use value form the cell you simply have to give it's
    > > address. it doesn't matter if there is a formula in cell or not
    > >
    > > sweet_dreams
    > >


    --

    Dave Peterson

  5. #5
    crapit
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    What I want to ck is to see whether tat particular cell B1 = sun, since that
    cell value is an evaluation, I dont know how to determine it!

    "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    news:43D4EACF.157C4475@verizonXSPAM.net...
    > The value in the cell and what you see are two different
    > things--especially with
    > dates (and numbers (like money)).
    >
    > If you want to check to see if a date is a Tuesday:
    >
    > =WEEKDAY(A1,2)=2
    >
    > (Check excel's help for =weekday() and you'll see that that ",2" means
    > start
    > counting with Monday = 1.
    >
    >
    >
    > crapit wrote:
    >>
    >> I'm using it in conditional format. Cells custom format to "DDD" (w/o
    >> quote)
    >>
    >> A1 = 23/01/06 which give "MON"
    >> B1 = A1 + 1 which give "TUE"
    >> B2 using conditional formatting =B1="Tue", cell shading color = red
    >>
    >> A B C
    >> 1 MON TUE
    >> 2
    >> 3
    >>
    >> "sweet_dreams" <sweet_dreams@o2.pl> wrote in message
    >> news:1138017127.286822.27280@o13g2000cwo.googlegroups.com...
    >> > if you want to use value form the cell you simply have to give it's
    >> > address. it doesn't matter if there is a formula in cell or not
    >> >
    >> > sweet_dreams
    >> >

    >
    > --
    >
    > Dave Peterson




  6. #6
    Dave Peterson
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    If you look at excel's help for =weekday(), you'll find one way:

    =weekday(a1,1)=1
    or
    =weekday(a1,2)=7



    crapit wrote:
    >
    > What I want to ck is to see whether tat particular cell B1 = sun, since that
    > cell value is an evaluation, I dont know how to determine it!
    >
    > "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    > news:43D4EACF.157C4475@verizonXSPAM.net...
    > > The value in the cell and what you see are two different
    > > things--especially with
    > > dates (and numbers (like money)).
    > >
    > > If you want to check to see if a date is a Tuesday:
    > >
    > > =WEEKDAY(A1,2)=2
    > >
    > > (Check excel's help for =weekday() and you'll see that that ",2" means
    > > start
    > > counting with Monday = 1.
    > >
    > >
    > >
    > > crapit wrote:
    > >>
    > >> I'm using it in conditional format. Cells custom format to "DDD" (w/o
    > >> quote)
    > >>
    > >> A1 = 23/01/06 which give "MON"
    > >> B1 = A1 + 1 which give "TUE"
    > >> B2 using conditional formatting =B1="Tue", cell shading color = red
    > >>
    > >> A B C
    > >> 1 MON TUE
    > >> 2
    > >> 3
    > >>
    > >> "sweet_dreams" <sweet_dreams@o2.pl> wrote in message
    > >> news:1138017127.286822.27280@o13g2000cwo.googlegroups.com...
    > >> > if you want to use value form the cell you simply have to give it's
    > >> > address. it doesn't matter if there is a formula in cell or not
    > >> >
    > >> > sweet_dreams
    > >> >

    > >
    > > --
    > >
    > > Dave Peterson


    --

    Dave Peterson

  7. #7
    crapit
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    Hi, I got it. But if the cell isnt custom formatted, i.e general, how to
    refer?
    "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    news:43D5347B.39D9EE4E@verizonXSPAM.net...
    > If you look at excel's help for =weekday(), you'll find one way:
    >
    > =weekday(a1,1)=1
    > or
    > =weekday(a1,2)=7
    >
    >
    >
    > crapit wrote:
    >>
    >> What I want to ck is to see whether tat particular cell B1 = sun, since
    >> that
    >> cell value is an evaluation, I dont know how to determine it!
    >>
    >> "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    >> news:43D4EACF.157C4475@verizonXSPAM.net...
    >> > The value in the cell and what you see are two different
    >> > things--especially with
    >> > dates (and numbers (like money)).
    >> >
    >> > If you want to check to see if a date is a Tuesday:
    >> >
    >> > =WEEKDAY(A1,2)=2
    >> >
    >> > (Check excel's help for =weekday() and you'll see that that ",2" means
    >> > start
    >> > counting with Monday = 1.
    >> >
    >> >
    >> >
    >> > crapit wrote:
    >> >>
    >> >> I'm using it in conditional format. Cells custom format to "DDD" (w/o
    >> >> quote)
    >> >>
    >> >> A1 = 23/01/06 which give "MON"
    >> >> B1 = A1 + 1 which give "TUE"
    >> >> B2 using conditional formatting =B1="Tue", cell shading color = red
    >> >>
    >> >> A B C
    >> >> 1 MON TUE
    >> >> 2
    >> >> 3
    >> >>
    >> >> "sweet_dreams" <sweet_dreams@o2.pl> wrote in message
    >> >> news:1138017127.286822.27280@o13g2000cwo.googlegroups.com...
    >> >> > if you want to use value form the cell you simply have to give it's
    >> >> > address. it doesn't matter if there is a formula in cell or not
    >> >> >
    >> >> > sweet_dreams
    >> >> >
    >> >
    >> > --
    >> >
    >> > Dave Peterson

    >
    > --
    >
    > Dave Peterson




  8. #8
    Dave Peterson
    Guest

    Re: How to refer to a data in a cell where the value is a formula

    If you put a date in a cell, then the value will always be the date.

    You might see
    January 23, 2006
    or
    1/23/2006
    or
    Jan 23, 2006
    or
    01232006

    But if you select that cell and look at the formula bar, you'll see the date.

    In fact, if you format the cell as General, you'll see:
    38740

    (which is the number of days since December 31, 1899. That date is equal to 0
    to excel. Excel just keeps adding one to for every day passed since then.)

    It's what makes date arithmetic so easy to do:

    =today()+7
    is a week from today.

    crapit wrote:
    >
    > Hi, I got it. But if the cell isnt custom formatted, i.e general, how to
    > refer?
    > "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    > news:43D5347B.39D9EE4E@verizonXSPAM.net...
    > > If you look at excel's help for =weekday(), you'll find one way:
    > >
    > > =weekday(a1,1)=1
    > > or
    > > =weekday(a1,2)=7
    > >
    > >
    > >
    > > crapit wrote:
    > >>
    > >> What I want to ck is to see whether tat particular cell B1 = sun, since
    > >> that
    > >> cell value is an evaluation, I dont know how to determine it!
    > >>
    > >> "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    > >> news:43D4EACF.157C4475@verizonXSPAM.net...
    > >> > The value in the cell and what you see are two different
    > >> > things--especially with
    > >> > dates (and numbers (like money)).
    > >> >
    > >> > If you want to check to see if a date is a Tuesday:
    > >> >
    > >> > =WEEKDAY(A1,2)=2
    > >> >
    > >> > (Check excel's help for =weekday() and you'll see that that ",2" means
    > >> > start
    > >> > counting with Monday = 1.
    > >> >
    > >> >
    > >> >
    > >> > crapit wrote:
    > >> >>
    > >> >> I'm using it in conditional format. Cells custom format to "DDD" (w/o
    > >> >> quote)
    > >> >>
    > >> >> A1 = 23/01/06 which give "MON"
    > >> >> B1 = A1 + 1 which give "TUE"
    > >> >> B2 using conditional formatting =B1="Tue", cell shading color = red
    > >> >>
    > >> >> A B C
    > >> >> 1 MON TUE
    > >> >> 2
    > >> >> 3
    > >> >>
    > >> >> "sweet_dreams" <sweet_dreams@o2.pl> wrote in message
    > >> >> news:1138017127.286822.27280@o13g2000cwo.googlegroups.com...
    > >> >> > if you want to use value form the cell you simply have to give it's
    > >> >> > address. it doesn't matter if there is a formula in cell or not
    > >> >> >
    > >> >> > sweet_dreams
    > >> >> >
    > >> >
    > >> > --
    > >> >
    > >> > Dave Peterson

    > >
    > > --
    > >
    > > Dave Peterson


    --

    Dave Peterson

+ 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