+ Reply to Thread
Results 1 to 9 of 9

Nested IFs

Hybrid View

padadof2 Nested IFs 01-05-2010, 01:19 PM
NBVC Re: nested what ifs 01-05-2010, 01:25 PM
padadof2 Re: nested what ifs 01-05-2010, 03:31 PM
JBeaucaire Re: Nested IFs 01-05-2010, 05:40 PM
JBeaucaire Re: Nested IFs 01-05-2010, 05:45 PM
padadof2 Re: Nested IFs 01-06-2010, 10:43 AM
JBeaucaire Re: Nested IFs 01-06-2010, 01:04 PM
padadof2 Re: Nested IFs 01-06-2010, 02:48 PM
JBeaucaire Re: Nested IFs 01-06-2010, 02:57 PM
  1. #1
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Nested IFs

    This formula in L12:
    =IF(AND(ISNUMBER(B12),ISTEXT($A12)),L11+1,L11)

    ...makes the following requirements to increment:

    1) B12 must have a number in it (it is blank, so this formula will fail and remain zero)
    2) $A12 must have a text in it (Has "Mike" so this works)
    3) If 1 & 2 are both true, then L12 will look up to L11 and add 1. If not, it reflects the value in L11 again.

    So, only the first row of 4-row group can increment because I've removed the extra text from column A and there is only text in the first row of each group. (notice I took out the word "total"?).

    The indexes on the various pages are matching the first instance of each index number on the schedule in the appropriate key column to the index in column A of the daily sheet. This simple match makes it easy to find the row of data to display on each line.
    =========
    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated. It is found across from the "time" in each of our posts.)
    Last edited by JBeaucaire; 01-06-2010 at 01:09 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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