+ Reply to Thread
Results 1 to 6 of 6

IF statements with text and numbers across multiple tabs

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Calgary Alberta
    MS-Off Ver
    Excel 2010
    Posts
    42

    IF statements with text and numbers across multiple tabs

    I am working on a sheet where in TAB 1 I have the following formula.......
    =IF(L4>0,(L4-K4)+(J4-I4)+(H4-G4), "PENDING") in column N
    There are approximately 8 rows with this formula (Rows N4 - N12) and they are based on dates in and out through various departments.

    On TAB 2 I want to summarize the data from TAB 1 so that if any of the data in the range N4:N30 = "PENDING" then the cell will display a 0 if True and 1 if False as below.....
    =IF('TAB 2'!N4:N12="PENDING",0,1)
    The issue is it keeps returning a 1 indicating false when Cell N9 does have a "PENDING" value

    Thanks in advance for all your help

  2. #2
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: IF statements with text and numbers across multiple tabs

    Can you upload a sample workbook (with any sensitive data removed) for us to work on?
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Calgary Alberta
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: IF statements with text and numbers across multiple tabs

    Here you go
    There is some conditional formatting applied on the TEST tab (yellow and red shading)
    Cell G4 of the SUMMARY Tab is where I have the formula I am trying to make work.
    Thanks again for all your help.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: IF statements with text and numbers across multiple tabs

    To be honest, I'm not sure why the formula isn't working; however, if you have a look at the attached, I have used the following in G5:

    Please Login or Register  to view this content.
    which does as you require. How is this for you?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-22-2012
    Location
    Calgary Alberta
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: IF statements with text and numbers across multiple tabs

    Thanks for the help.
    How many arguments can I have in that formula?
    There are times where the number of W.O.'s generated can be as high as 50-60.
    Thanks again for your help.

  6. #6
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: IF statements with text and numbers across multiple tabs

    You're welcome - glad to help, and thanks for the rep.

    From Excel's built-in help function: Up to 64 IF functions can be nested as value_if_true and value_if_false arguments to construct more elaborate tests. ... Alternatively, to test many conditions, consider using the LOOKUP, VLOOKUP, HLOOKUP, or CHOOSE functions.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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