+ Reply to Thread
Results 1 to 7 of 7

2 formula 1 cell

  1. #1
    BluTs
    Guest

    2 formula 1 cell

    How can I add 2 differents formula in only one cell?

  2. #2
    Nick Hodge
    Guest

    Re: 2 formula 1 cell

    Give us some example of what you are trying to do, but generally you just
    nest one within another

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    www.nickhodge.co.uk
    [email protected]HIS


    "BluTs" <[email protected]> wrote in message
    news:[email protected]...
    > How can I add 2 differents formula in only one cell?




  3. #3
    wdjsxj
    Guest

    RE: 2 formula 1 cell

    use if function

    “BluTs”编写:

    > How can I add 2 differents formula in only one cell?


  4. #4
    Nick Hodge
    Guest

    Re: 2 formula 1 cell

    You just nest them

    =IF(A1=1,B2,IF(A1=2,B3,0))

    You might also like to use OR and AND to check for multiple criteria to
    return True or False

    Beware, currently, until XL2007, you are limited to 7 nested IFs

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    www.nickhodge.co.uk
    [email protected]HIS


    "wdjsxj" <[email protected]> wrote in message
    news:[email protected]...
    > use if function
    >
    > "BluTs"??:
    >
    >> How can I add 2 differents formula in only one cell?




  5. #5
    BluTs
    Guest

    Re: 2 formula 1 cell

    well i'm trying somthing for a shedule at work
    ex: if they have less then 5 hours they have 0.5h of lunch break if they ave
    more then it's 1, then if they have the day off they are gonna be working 0
    hours so i want it to do something like if d4=0,"0","0"

    I know it's not realy clear but that's what i want to do

    Nick Hodge" wrote:

    > Give us some example of what you are trying to do, but generally you just
    > nest one within another
    >
    > --
    > HTH
    > Nick Hodge
    > Microsoft MVP - Excel
    > Southampton, England
    > www.nickhodge.co.uk
    > [email protected]HIS
    >
    >
    > "BluTs" <[email protected]> wrote in message
    > news:[email protected]...
    > > How can I add 2 differents formula in only one cell?

    >
    >
    >


  6. #6
    Forum Contributor
    Join Date
    06-01-2006
    Posts
    324
    assuming the hours they work is in d4

    =IF(d4=0, 0, IF(d4<=5, 0.5, IF(d4>5, 1)))
    Google is your best friend!

  7. #7
    Nick Hodge
    Guest

    Re: 2 formula 1 cell

    It's a little clouded by the times and whether you have entered them as true
    times (5:00 for 5 hours) or just numbers (5)


    Presuming the 'number' 5 in A1 then the formula would be say in B1

    =IF(A1="","",IF(A1=0,0,IF(A1>5,1,.5)))
    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    www.nickhodge.co.uk
    [email protected]HIS


    "BluTs" <[email protected]> wrote in message
    news:[email protected]...
    > well i'm trying somthing for a shedule at work
    > ex: if they have less then 5 hours they have 0.5h of lunch break if they
    > ave
    > more then it's 1, then if they have the day off they are gonna be working
    > 0
    > hours so i want it to do something like if d4=0,"0","0"
    >
    > I know it's not realy clear but that's what i want to do
    >
    > Nick Hodge" wrote:
    >
    >> Give us some example of what you are trying to do, but generally you just
    >> nest one within another
    >>
    >> --
    >> HTH
    >> Nick Hodge
    >> Microsoft MVP - Excel
    >> Southampton, England
    >> www.nickhodge.co.uk
    >> [email protected]HIS
    >>
    >>
    >> "BluTs" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > How can I add 2 differents formula in only one cell?

    >>
    >>
    >>




+ 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