Results 1 to 6 of 6

Thread: SumIf Formula Addition Based On AlphaNumeric Criteria

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member LalitPandey87's Avatar
    Join Date
    Sep 2011
    Posts
    222
    Rep Power
    15
    Copy below formula and paste this in cell H1 with CSE
    =SUM(IFERROR((INT($A$1:$A$32) >= 3001)*(INT($A$1:$A$32) <= 3007)*($E$1:$E$32),0))

    Copy below formula and paste this in cell H3 with CSE
    =SUM(IFERROR((RIGHT($A$1:$A$32,1)="D")*(--(SUBSTITUTE($A$1:$A$32,"D",""))>=3001)*N(--(SUBSTITUTE($A$1:$A$32,"D",""))<=3007),0)*$E$1:$E$ 32)

    Copy below formula and paste this in cell H5 with CSE
    =SUM(IFERROR((INT($A$1:$A$32) >= 3500)*(INT($A$1:$A$32) <= 3515)*($E$1:$E$32),0))

    As all these are array formula so please apply it with Control + Shift + Enter
    Last edited by LalitPandey87; 04-03-2013 at 03:00 PM.

  2. #2
    Senior Member
    Join Date
    Apr 2012
    Posts
    193
    Rep Power
    14
    Dear Lalit

    Thanks for your help. These are really interesting formulas.

    Your second formula did not work and Excel Fox assisted me here http://www.excelfox.com/forum/f2/sum...eric-text-891/

    He changed it to =SUM(IFERROR((INT(SUBSTITUTE(Sheet1!$C$5:$C$1000," D","0")) >= 30000)*(INT(SUBSTITUTE(Sheet1!$C$5:$C$1000,"D","0" )) <= 30150)*(Sheet1!$E$5:$E$1000),0)

    Once again thanks for your help, which is most appreciated

Similar Threads

  1. Replies: 7
    Last Post: 05-15-2013, 02:56 PM
  2. Replies: 7
    Last Post: 05-15-2013, 07:55 AM
  3. Replies: 4
    Last Post: 08-11-2012, 10:50 PM
  4. Lookup Based on Criteria
    By maruthi in forum Excel Help
    Replies: 2
    Last Post: 02-15-2012, 08:49 AM
  5. Update data from closed workbook with sumif formula
    By leopaulc in forum Excel Help
    Replies: 4
    Last Post: 11-02-2011, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •