+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Sumproduct Remove Case Sensitivity

Hybrid View

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

    Sumproduct Remove Case Sensitivity

    Hi all,

    I have been using this formula,

    =SUMPRODUCT(EXACT(G6:CR6,{"H";"HD"})*{1;0.5})

    on an attendance sheet i use for work, it counts "H" as 1 and "HD" as 0.5 which is great.

    However i want it to also recognise lowercase "h" and "hd", I've been trying a few things but nothing seems to work, any ideas appreciated.
    Last edited by DonkeyOte; 01-09-2011 at 07:14 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sumproduct Formula Help?

    EXACT "does what it says on the tin" - apple <> Apple

    If no case sensitivity required then no need for SUMPRODUCT in first instance:

    =SUM(COUNTIF(G6:CR6,{"h","hd"})*{1,0.5))

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

    Re: Sumproduct Formula Help?

    Thanks very much just what i needed, just pointing out a slight error for anyone else with same problem.

    =SUM(COUNTIF(G6:CR6,{"h","hd"})*{1,0.5})
    not
    =SUM(COUNTIF(G6:CR6,{"h","hd"})*{1,0.5))

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sumproduct Remove Case Sensitivity

    Thanks for pointing out the typo

+ 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