+ Reply to Thread
Results 1 to 25 of 25

Nested IF functions

Hybrid View

RyanF Nested IF functions 06-16-2009, 08:14 AM
NBVC Re: Nested IF functions 06-16-2009, 08:21 AM
RyanF Re: Nested IF functions 06-16-2009, 08:39 AM
NBVC Re: Nested IF functions 06-16-2009, 08:46 AM
NBVC Re: Nested IF functions 06-16-2009, 08:51 AM
RyanF Re: Nested IF functions 06-16-2009, 09:19 AM
deadlyduck Re: Nested IF functions 06-16-2009, 10:00 AM
RyanF Re: Nested IF functions 06-16-2009, 10:29 AM
tigertiger Re: Nested IF functions 06-16-2009, 10:03 AM
NBVC Re: Nested IF functions 06-16-2009, 10:23 AM
RyanF Re: Nested IF functions 06-16-2009, 10:32 AM
deadlyduck Re: Nested IF functions 06-16-2009, 10:44 AM
NBVC Re: Nested IF functions 06-16-2009, 10:57 AM
deadlyduck Re: Nested IF functions 06-16-2009, 11:02 AM
RyanF Re: Nested IF functions 06-16-2009, 11:04 AM
RyanF Re: Nested IF functions 06-16-2009, 11:02 AM
tigertiger Re: Nested IF functions 06-16-2009, 11:38 AM
RyanF Re: Nested IF functions 06-16-2009, 03:10 PM
tigertiger Re: Nested IF functions 06-16-2009, 10:20 PM
RyanF Re: Nested IF functions 06-18-2009, 07:21 AM
  1. #1
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Nested IF functions

    why don't you use the short formula:

    =E2+IF(B3<=32,(C3="x")*D3/32,-12.5*(MOD(B3,2)=1))

    with column B contains number of days (the same in your file) -
    instead of depending on row() ?

  2. #2
    Registered User
    Join Date
    06-16-2009
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Nested IF functions

    Quote Originally Posted by tigertiger View Post
    why don't you use the short formula:

    =E2+IF(B3<=32,(C3="x")*D3/32,-12.5*(MOD(B3,2)=1))

    with column B contains number of days (the same in your file) -
    instead of depending on row() ?
    Formula works great-thanks. Only thing is it relies on the "x"value I put in, but if the dose is taken on another day, would have to alter the x value to a different day.
    But it is working well-appreciate the help

  3. #3
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Nested IF functions

    Quote Originally Posted by RyanF View Post
    Only thing is it relies on the "x"value I put in, but if the dose is taken on another day
    if you want not to rely on "x", the formula will be:
    =E2+IF(B3<=32,(MOD(B3,2)=1)*D3/32,-12.5*(MOD(B3,2)=1))

    OR
    =E2+(MOD(B3,2)=1)*IF(B3<=32,D3/32,-12.5)
    with the same number of days in the two stages (1st & 2nd stage)

    in the formulas, if also do not rely on the value in cplumn B - you can use Row() replace B3 appropriately

    G luck.
    Last edited by tigertiger; 06-17-2009 at 02:30 AM.

  4. #4
    Registered User
    Join Date
    06-16-2009
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Nested IF functions

    Thanks for the replies all. They all work, now I just have to figure out how

    Appreciate the 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