Need a formula that only show the set cost figure once for each unique User Id

Leicester City Fox

Board Regular
Joined
Oct 7, 2016
Messages
69
Hi There

Good Morning

Need a formula that only show the set cost figure once for eachunique User Id


I am looking for a formula that give me the result in ColumnC, The formula needs to only count the set cost figure that doesn’t change (ColumnB) for the user ID (Column A) just once .

A
B
C
User ID
Set Cost
Result Want
A123
£5.00
£5.00
A123
£5.00
B234
£5.00
B234
£10.50
£10.50
B234
£10.50
C245
£8.24
£8.24
<tbody> </tbody>

If anybody got any ideas of simply formula that can do this,please let me know?
Many Thanks
Leicester Fox

 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
43,515
Office Version
365
Platform
Windows
Try something like this.

Excel Workbook
ABC
1User IDSet CostResult Want
2A12355
3A1235
4B2345
5B23410.510.5
6B23410.5
7C2458.248.24
8
Set Cost
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
43,515
Office Version
365
Platform
Windows
Cheers. Thanks for the follow-up. :)
 

Forum statistics

Threads
1,089,558
Messages
5,408,943
Members
403,245
Latest member
Nanda Kishore

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top