+ Reply to Thread
Results 1 to 3 of 3

IF/Then across multiple columns

  1. #1
    Registered User
    Join Date
    03-11-2011
    Location
    USA
    MS-Off Ver
    2007 / 2010
    Posts
    2

    IF/Then across multiple columns

    I am trying to quantify 2 values ( -1 and 1) across 5 columns into usable data. I am trying to have the end result produce a number 5 through 1 in a blank column.

    So if I am thinking about this correctly then I should have
    Please Login or Register  to view this content.
    Which I translated to an Nested If of

    Please Login or Register  to view this content.
    All I am getting with the nested code is "False"

    I am going to do another nested IF function to produce for the -1 and result in 1 through 5. Then I should be able to subtract the 2 values produced to get the information I am looking for.

    Any help would be appreciated.

    ** EDIT **

    Sorry I am working in Excel 2007 for this.
    Last edited by Vodo34861; 03-11-2011 at 03:16 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF/Then across multiple columns

    Should the "1" be in quotes? Try removing the quotes.

    and/or you can try perhaps:

    =5-MATCH(1,A2:E2,0)+1
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-11-2011
    Location
    USA
    MS-Off Ver
    2007 / 2010
    Posts
    2

    Re: IF/Then across multiple columns

    AHHHH the quotes got me. Thanks. I have been thinking about this for far too long.

+ 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