+ Reply to Thread
Results 1 to 6 of 6

How to determine the unique name with different calculation

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    How to determine the unique name with different calculation

    Hi everybody

    attached sheet 1 is question and sheet answer is we needed

    sheet1.
    In B: there is different name aaa,bbb,ccc,ddd. when first meet
    aaa in b2. then take i2 value(133) to calculate the balance
    that is ba3=i2-i3 , ba4=i2-i4 , ba5=i2-i5
    when first meet bbb in b6, then ba7=i6-i7 .....

    if we have many name in column b , then how to setup formula
    for ba to calculate like that ...


    Thanks for your help
    Tom
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-30-2015
    Location
    Netherlands
    MS-Off Ver
    2013 / 2016 / 365
    Posts
    145

    Re: help with formula how to determine the unique name with different calculation

    Hi,

    Enter this formula and confirm it with Ctrl-Shift-Enter as it's an array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    HtH,

    Joris

    --------------------------------------------------------------------------------
    If you found my answer helpful, please hit the Like or Thank button.

    Please follow the forum Rules and Guidelines and use Code tags around your VBA code.

    Remember: test VBA code always on a copy of your file because usually you can't use undo

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: help with formula how to determine the unique name with different calculation

    in BB3
    =IF(INDEX(I$2:I$21,MATCH(B3,B$2:B$21,0),1)-I3=0,"",INDEX(I$2:I$21,MATCH(B3,B$2:B$21,0),1)-I3)
    and copy down to BB21
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: help with formula how to determine the unique name with different calculation

    in BB3
    =IF(INDEX(I$2:I$21,MATCH(B3,B$2:B$21,0),1)-I3=0,"",INDEX(I$2:I$21,MATCH(B3,B$2:B$21,0),1)-I3)
    and copy down to BB21

  5. #5
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: How to determine the unique name with different calculation

    Thank Special K and Joris

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to determine the unique name with different calculation

    An afterthought:

    Enter in BB2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ 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. Replies: 1
    Last Post: 01-19-2017, 06:01 AM
  2. Adding Weighted Calculation to determine percent complete
    By communistflamingo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2015, 09:38 AM
  3. [SOLVED] Trying determine the number of unique occurances
    By stubbsj in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-10-2014, 05:20 PM
  4. Compare two columns to determine unique data
    By typografx in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2013, 09:05 PM
  5. Checkboxes to determine calculation
    By Daanish in forum Excel General
    Replies: 0
    Last Post: 09-01-2010, 04:29 PM
  6. Determine Majority in Row of 5 Cells or Count Unique Values
    By gerbberpollack in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2010, 01:59 PM
  7. [SOLVED] Calculation to determine days between two dates
    By Dubleaa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-17-2005, 12:06 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