+ Reply to Thread
Results 1 to 4 of 4

Need help with Long Formula for compatability with Excel 97-2003!!

  1. #1
    Registered User
    Join Date
    09-17-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need help with Long Formula for compatability with Excel 97-2003!!

    Can someone help me!? I have a workbook that has a very long formula in 576 different cells. It is a football picks spreadsheet that tracks points based on winners and losers. It works for all Excel programs after 2003 version, but some of the users that I send it to have the older versions that do not allow as many characters for the formulas, or as many calculations. Here is an example of one cell's formula. Can you help me consolodate it to where it will work in previous versons of Excel?

    =IF((B3=Sheet2!$A$2),$I3,IF((B3=Sheet2!$A$3),$I3,IF((B3=Sheet2!$A$4),$I3,IF((B3=Sheet2!$A$5),$I3,IF((B3=Sheet2!$A$6),$I3,IF((B3=Sheet2!$A$7),$I3,IF((B3=Sheet2!$A$8),$I3,IF((B3=Sheet2!$A$9),$I3,IF((B3=Sheet2!$A$10),$I3,IF((B3=Sheet2!$A$11),$I3,IF((B3=Sheet2!$A$12),$I3,IF((B3=Sheet2!$A$13),$I3,IF((B3=Sheet2!$A$14),$I3,IF((B3=Sheet2!$A$15),$I3,IF((B3=Sheet2!$A$16),$I3,IF((B3=Sheet2!$A$17),$I3,IF((B3=Sheet2!$A$18),$I3,IF((B3=Sheet2!$A$19),$I3,IF((B3=Sheet2!$A$20),$I3,IF((B3=Sheet2!$A$21),$I3,IF((B3=Sheet2!$A$22),$I3,IF((B3=Sheet2!$A$23),$I3,IF((B3=Sheet2!$A$24),$I3,IF((B3=Sheet2!$A$25),$I3,IF((B3=Sheet2!$A$26),$I3,IF((B3=Sheet2!$A$27),$I3,IF((B3=Sheet2!$A$28),$I3,IF((B3=Sheet2!$A$29),$I3,IF((B3=Sheet2!$A$30),$I3,IF((B3=Sheet2!$B$2),"W",IF((B3=Sheet2!$B$3),"W",IF((B3=Sheet2!$B$4),"W",IF((B3=Sheet2!$B$5),"W",IF((B3=Sheet2!$B$6),"W",IF((B3=Sheet2!$B$7),"W",IF((B3=Sheet2!$B$8),"W",IF((B3=Sheet2!$B$9),"W",IF((B3=Sheet2!$B$10),"W",IF((B3=Sheet2!$B$11),"W",IF((B3=Sheet2!$B$12),"W",IF((B3=Sheet2!$B$13),"W",IF((B3=Sheet2!$B$14),"W",IF((B3=Sheet2!$B$15),"W",IF((B3=Sheet2!$B$16),"W",IF((B3=Sheet2!$B$17),"W",IF((B3=Sheet2!$B$18),"W",IF((B3=Sheet2!$B$19),"W",IF((B3=Sheet2!$B$20),"W",IF((B3=Sheet2!$B$21),"W",IF((B3=Sheet2!$B$22),"W",IF((B3=Sheet2!$B$23),"W",IF((B3=Sheet2!$B$24),"W",IF((B3=Sheet2!$B$25),"W",IF((B3=Sheet2!$B$26),"W",IF((B3=Sheet2!$B$27),"W",IF((B3=Sheet2!$B$28),"W",IF((B3=Sheet2!$B$29),"W",IF((B3=Sheet2!$B$30),"W",0))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

    Thank You!!
    Last edited by guppy1203; 09-17-2011 at 08:34 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Someone please help!!

    change title to get rid of "need help".
    but i assume you are trying to match b3 in sheet2 a2:a30 return i3
    if not then match b3 in sheet2 b2:b30 and return w
    else 0?
    if(isnumber(match(b3,Sheet2!$A$2:$A$30,0)),$i3,if(isnumber(match(b3,Sheet2!$B$2:$B$30,0)),"w",0)) should do it
    Last edited by martindwilson; 09-17-2011 at 08:23 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    09-17-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need help with Long Formula for compatability with Excel 97-2003!!

    That was great!! That worked perfectly!! Thank you so much!! I do have one other problem though. It says I still have a conditional formating problem that will not convert. It is a bottom % condition. Basically saying that the bottom 10% of a combination of cells is highlighted a certain color. Is there something else I can use that will convert to the previous versons of excel?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Need help with Long Formula for compatability with Excel 97-2003!!

    i dont know but post that as a separate question

+ 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