Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel references for count possible lookup??

Status
Not open for further replies.

m1ghty60

Technical User
Apr 4, 2002
5
0
0
GB
i want to add a selection of data set against a userid set in another cell on the sheet in excel.

the data is as value is a1-a100 are monetary values
userids are d1-d100 are individuals

lots of other data in other columns; that cannot be re-sorted.

need to calculate the total value of userid's transactions without re-sorting data in to ascend/descend values.

please help, i am sure i have done this before but the weather has made my brain swell and i can't remember how to.

 
I think you're talking about the SUMIF function but I don't fully understand your question.

Do you just want to add up all A1:A100 or just the ones that meet a certain UserID criteria?

If the latter is the case then you want the SUMIF Function and it takes the form:

=SUMIF(A1:A100,UserID,D1:D100) Bri

[afro]"Soul music is for life, not just christmas"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top