+ Reply to Thread
Results 1 to 9 of 9

Multiple Cell Foruma with FIND & ADD

  1. #1
    Registered User
    Join Date
    04-10-2011
    Location
    Edmonton
    MS-Off Ver
    Excel 2003
    Posts
    7

    Lightbulb Multiple Cell Foruma with FIND & ADD

    Hey All,

    I have figured out =IF(ISNUMBER(FIND("SS",B11)),"7","") which if SS is placed in B11 it will update the cell with a 7.

    I need to do the following:

    =IF(ISNUMBER(FIND("SS",B11,C11,D11,E11)),"7","") then keep adding up the 7's for any cell that it checks for.

    So if there is a SS in B11, D11 and E11 the total in the CELL becomes 21 as an example.


    Thank you to anyone who can help. Cheers!

    Rick

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple Cell Foruma with FIND & ADD

    Try
    =COUNTIF(B11:E11,"*SS*")*7

  3. #3
    Registered User
    Join Date
    04-10-2011
    Location
    Edmonton
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Multiple Cell Foruma with FIND & ADD

    You guys are amazing, thank you so much, is it possible to use the same forumla but instead of a 0 value being shown have it blank until a value is added?

    Thank you again!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Multiple Cell Foruma with FIND & ADD

    One way:

    =IFERROR(1/(1/(COUNTIF(B11:E11,"*SS*")*7)),"")

    or (since you have Excel 2003), you will have to use:

    =IF(ISERROR(1/(1/(COUNTIF(B11:E11,"*SS*")*7))),"",COUNTIF(B11:E11,"*SS*")*7)
    Last edited by Glenn Kennedy; 02-02-2018 at 12:33 PM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple Cell Foruma with FIND & ADD

    Quote Originally Posted by Glenn Kennedy View Post
    or (since you have Excel 2003), you will have to use:

    =IF(ISERROR(1/(1/(COUNTIF(B11:E11,"*SS*")*7))),"",COUNTIF(B11:E11,"*SS*")*7)
    If you're going to brute force it for 2003 compatibility, might as well just do

    =IF(COUNTIF(B11:E11,"*SS*"),COUNTIF(B11:E11,"*SS*")*7,"")

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Multiple Cell Foruma with FIND & ADD

    Im perfectly OK with brute force... Your effort IS prettier, though !!

  7. #7
    Registered User
    Join Date
    04-10-2011
    Location
    Edmonton
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Multiple Cell Foruma with FIND & ADD

    haha I just realized it says 2003 excel still, I am on 2011 and the first formulas work perfect.

    Thank you Glenn, I appreciate it.

    One last question ( so sorry ). Is there a way to tell it to ignore the error of checking an empty cell?

    Thank you again.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Multiple Cell Foruma with FIND & ADD

    Quote Originally Posted by xolite View Post
    Is there a way to tell it to ignore the error of checking an empty cell?
    Umm. I'm not sure what you mean... The iferror(1/(1blah blah bit makes a double reciprocal of zero value in the cell where the formula lives, returning a DIV/O error,which is then replaced by a blank. What do you want??

  9. #9
    Registered User
    Join Date
    04-10-2011
    Location
    Edmonton
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Multiple Cell Foruma with FIND & ADD

    Excel gives the error ( with the green arrow ) showing that it is checking an empty cell, was wondering if there was a way for it to ignore the check error on an empty cell.

    Cheers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Foruma needed to integrate indirect and sumif function
    By VincentNL in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2014, 10:45 AM
  2. Insert new row copies foruma one day, doesn't the next.
    By darxide23 in forum Excel General
    Replies: 5
    Last Post: 11-14-2013, 01:35 PM
  3. #NAME? In cell with correct Foruma
    By Alambique in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-20-2013, 08:02 AM
  4. copy and pasting a foruma and shifting reference celsl
    By zippersweater in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-28-2013, 01:40 PM
  5. Summing cells containing a text string within an array foruma
    By absintheminded in forum Excel General
    Replies: 5
    Last Post: 09-08-2010, 06:00 PM
  6. help with this foruma
    By jladika in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2008, 09:20 PM
  7. Excel->Data->Validation Foruma Query
    By rahul26 in forum Excel General
    Replies: 2
    Last Post: 06-12-2008, 03:07 AM

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