+ Reply to Thread
Results 1 to 2 of 2

SUMPRODUCT and text in cell

Hybrid View

  1. #1
    Registered User
    Join Date
    04-13-2006
    Location
    Boston, MA
    Posts
    73

    SUMPRODUCT and text in cell

    I am comparing sets of columns in 2 separate worksheets. They have lists of employee names, and compare a list of active pension accounts against a known list of employees.

    There are two vendors, and if the person has no account with that vendor, the "#N/A" error message is in the cell. If the person has no account with either vendor I need to track that, so I used this formula to compare the "#N/A" error messages in the key columns:

    =SUMPRODUCT(--(ISERROR(G243)),--(ISERROR('TIAA vs Name list'!H243="NO ACCOUNT")))

    What I want is for there to be text in the cell if both columns have the "#N/A" error message, but all I get is a "1".

    Is there any way to check the columns for "#N/A" error message and have a text message of "No Account" appear in the cell?
    Last edited by LTUser54; 09-13-2006 at 09:46 AM.

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    The formula evaluates correctly and should return 1 if both read N/A
    true*true=1

    I would not necessarily use the sumproduct but to keep it simple

    =If(=SUMPRODUCT(--(ISERROR(G243)),--(ISERROR('TIAA vs Name list'!H243="NO ACCOUNT")))=1,"No Account","")

    you were nearly there

    Regards

    Dav

+ 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