+ Reply to Thread
Results 1 to 5 of 5

Sum The Value of a Particular Range with Suffix Number by eliminating a Till Symbol Conten

  1. #1
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Sum The Value of a Particular Range with Suffix Number by eliminating a Till Symbol Conten

    Dear Experts,

    Please find the attached File where I have daily production plan by individual FG Number.

    Every Production Schedule is having the Prefix of “1=”, “2=”,”3=” Etc., Followed by Scheduled Quantity.

    In Column AD2, I would want to sum the value Range of B2:AB2, Sum Formula has to consider the Value in Each Cell which is mentioned after “=” Symbol!

    Few Expected Results are manually Updated in AD2, AD3 Cell

    Looking forward your Input to Accomplish the same!

    Thanks & Regards,
    Rajeshkumar R
    Attached Files Attached Files
    Last edited by Rajeshkumar R; 07-05-2019 at 09:01 AM. Reason: Query Resolved

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Sum The Value of a Particular Range with Suffix Number by eliminating a Till Symbol Co

    try below formula
    =SUMPRODUCT(--TRIM(MID(SUBSTITUTE(B2:AB2&"=0","=",REPT(" ",26)),26,26)))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Sum The Value of a Particular Range with Suffix Number by eliminating a Till Symbol Co

    Dear Ravi,

    Thanks for your quick suggestion, The Formula works amazingly!

    For My Better understanding of the Logic & Formula Could you please help me understand what exactly REPT(" ",26)),26,26))) this portion of formula executes and Why it is 26?

    Thanks In Advange!
    Rajeshkumar R

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Sum The Value of a Particular Range with Suffix Number by eliminating a Till Symbol Co

    I assume that the maximum length of the content in a cell would be 26,
    rept(" ", 26) means it will produce 26 spaces
    in the formula "=" will be substituted by " " (26 Spaces)
    then the mid function will take the values 26 characters starting from 26th character.
    for better understanding stay in the cell which you have formula
    press Alt+m+v
    then press on evaluate
    here you can observe how the formula is working

  5. #5
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Sum The Value of a Particular Range with Suffix Number by eliminating a Till Symbol Co

    Dear samba_ravi,

    Noted, Thanks for your detailed Explanation!

    Regards,
    Rajeshkumar R

+ 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] The Symbol to show a number range in a formula
    By nikkiac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-10-2017, 09:44 AM
  2. Separate Number Suffix?
    By duffhead in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-20-2017, 04:52 PM
  3. [SOLVED] I need to rip the last name out of a field which contains number suffix
    By James Keuning in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2014, 07:29 PM
  4. [SOLVED] Number Suffix Question
    By VTJeep in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-15-2014, 10:28 AM
  5. [SOLVED] Changing a positive or negative value based on the input's suffix, then removing suffix
    By Theredwind in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2014, 05:19 AM
  6. [SOLVED] adding unique number suffix
    By hmm321 in forum Excel General
    Replies: 2
    Last Post: 07-01-2012, 05:25 PM
  7. What does a number with suffix # mean?
    By lvcha.gouqizi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2005, 12:05 PM

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