+ Reply to Thread
Results 1 to 7 of 7

Alphabet Value Compare Calculation

  1. #1
    Registered User
    Join Date
    02-28-2020
    Location
    India
    MS-Off Ver
    2016
    Posts
    36

    Post Alphabet Value Compare Calculation

    Hi All,

    In attached excel column A has Alphabets & column B has Numbers.
    I need formula or macro to the the output in column D.
    What ever the Alphabets I enter from column E it should refer that alphabet in column A and get its corresponding number and sum it and give the output. Check from column E till it finds the empty cell it should keep compare and sum the corresponding value and given the output.

    TIA.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,925

    Re: Alphabet Value Compare Calculation

    Please Login or Register  to view this content.
    in D2

    =sum_alpha($B$2:$B$27,$E2:$Z2)

    Copy down

    Change higlighted range as required

    OR

    Please Login or Register  to view this content.

    in D2

    =sum_alpha($E2:$Z2)

    List of numbers (column B) is named range "Numbers"
    Last edited by JohnTopley; 06-20-2023 at 11:52 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,931

    Re: Alphabet Value Compare Calculation

    D2
    Please Login or Register  to view this content.
    copied down.
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: Alphabet Value Compare Calculation

    In cell A10 you have "I ", i.e. I followed by a space, and in A19 you have "R " - you need to remove those spaces, then you can use this array* formula:

    =SUM(SUMIFS($B$2:$B$27,$A$2:$A$27,$E2:$O2))

    * Note that in XL2016, which your profile states that you are using, you need to commit the formula using the key combination of Ctrl-Shift-Enter, rather than the usual Enter.

    Copy the formula down as required.

    Hope this helps.

    Pete

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Alphabet Value Compare Calculation

    Please try in D2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-28-2020
    Location
    India
    MS-Off Ver
    2016
    Posts
    36

    Re: Alphabet Value Compare Calculation

    Quote Originally Posted by HansDouwe View Post
    Please try in D2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is Solved

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Alphabet Value Compare Calculation

    Thanks for your feedback, Glad to have helped.

    Please consider adding reputation to any helpers you think they deserve.
    In that case please click * Add Reputation left below their answers.

+ 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] Insert A alphabet and P alphabet in every cell alternatively
    By keshavtale in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2021, 03:31 AM
  2. [SOLVED] Compare two excel sheets based on a criteria and do a calculation
    By Mota in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-27-2020, 08:23 PM
  3. [SOLVED] Trying to do a calculation, then look up and compare
    By Mike at SPD in forum Excel Charting & Pivots
    Replies: 22
    Last Post: 08-21-2017, 05:53 PM
  4. [SOLVED] Formula to compare multiple cells and do a calculation
    By steph1111 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2017, 01:49 PM
  5. VBA to fill the calculation formula in pivottable2
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2016, 08:18 PM
  6. Replies: 4
    Last Post: 08-21-2015, 01:23 PM
  7. Replies: 2
    Last Post: 07-26-2005, 03:05 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