+ Reply to Thread
Results 1 to 3 of 3

How do I make H = -1 on a worksheet, yet show H?

  1. #1
    Guybon Berry
    Guest

    How do I make H = -1 on a worksheet, yet show H?

    I am completely confused.
    H represents a staff member on Holiday.
    I have a total number of staff and want H to represent -1.
    If H is entered in any of the range of cells selected it must represent -1
    and be able to be included in a formula.
    Please help.

  2. #2
    Ron Rosenfeld
    Guest

    Re: How do I make H = -1 on a worksheet, yet show H?

    On Tue, 14 Mar 2006 08:19:26 -0800, Guybon Berry <Guybon
    [email protected]> wrote:

    >I am completely confused.
    >H represents a staff member on Holiday.
    >I have a total number of staff and want H to represent -1.
    >If H is entered in any of the range of cells selected it must represent -1
    >and be able to be included in a formula.
    >Please help.


    You might be able to incorporate a COUNTIF function in your formula:

    =Staff_Numbers - COUNTIF(rng,"H")


    --ron

  3. #3
    Niek Otten
    Guest

    Re: How do I make H = -1 on a worksheet, yet show H?

    Don't do it that way. It can be done, but you can be sure you'll get yourself into trouble some time.
    Use an extra cell (which you can hide) with a formula like

    =IF(A1="H",-1,"YesWhatElse")

    YesWhatElse: you didn't specify

    --
    Kind regards,

    Niek Otten

    "Guybon Berry" <Guybon [email protected]> wrote in message
    news:[email protected]...
    >I am completely confused.
    > H represents a staff member on Holiday.
    > I have a total number of staff and want H to represent -1.
    > If H is entered in any of the range of cells selected it must represent -1
    > and be able to be included in a formula.
    > Please help.




+ 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