+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : IF formula should ignore cases when comparing strings

Hybrid View

  1. #1
    Registered User
    Join Date
    03-11-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    14

    Question IF formula should ignore cases when comparing strings

    Hello everyone

    I have a bit of a problem that I can't seem to work around.
    I have 2 sheets, 1 original I can't modify and one I copy it to. On this copy I modify/extract data/manipulate data/...

    However, since the new version of the original excel,, some headers have changed. Meaning that they changed the Cases (eg: NAME became Name; TYPE became type etc...)

    I could change my headers to match them but than it would no longer be compatible with the previous "original" sheets.

    My formula is:
    =IF(AL$2=Copy!AL$2;Copy!AL4;INDEX(Copy!$A$1:$FZ$2000;ROWS($A$1:$A4);IFERROR(MATCH(AL$2;Copy!$A$2:$FZ$2;0);MATCH(AL$2;Copy!$A$3:$FZ$3;0))))

    should make:
    IF NAME = NAME (or name or Name or naME); INDEX(Copy!$A$1:$FZ$2000;ROWS($A$1:$A4);IFERROR(MATCH(NAME;(Name;NAME;naME) in Copy!$A$2:$FZ$2 or in Copy!$A$3:$FZ$3)

    any help would be appreciated.

    Kr

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: IF formula should ignore cases when comparing strings

    Try substituting NAME with Upper(Name) where ever/how ever it is refered to in your formula, this might produce an array formula, if so then confirm with Ctrl+Shift+Enter
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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