Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Help Needed With Excel Formulas
paulmason411
post Nov 29 2007, 01:32 AM
Post #1


Member [Level 1]
****

Group: Members
Posts: 69
Joined: 18-November 06
Member No.: 33,593



Hi guys,

Here is an example of what my table looks like

CODE
person           amount

joe               23
fred              45
fred              32
joe               11
fred              16



I want to calculate the total amount that fred is responsible for.
I'm not sure how to use the syntax for excel very well, so i was hoping someone could help. Cheers.

This post has been edited by paulmason411: Nov 29 2007, 01:35 AM
Go to the top of the page
 
+Quote Post
de4thpr00f
post Nov 29 2007, 02:15 AM
Post #2


Member [Level 2]
*****

Group: Members
Posts: 76
Joined: 21-November 07
Member No.: 53,412



ok, in excel you have collumns and rows. that's all you need. ok i'll guess that the total amount of fred is cell B4+B5, i'm not sure but it seems.
Now to use the formula you'll need a blank cell, D3 for example, select the empty cell and write:
=B4+B5
now press enter and it's done. =)
Greetz
~
Joćo Lopes
Go to the top of the page
 
+Quote Post
jlhaslip
post Nov 29 2007, 03:30 AM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,300
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:46.50



I assume you want to total the values for a certain person in that list.
If so, look at the function DSUM() used in an Excel Database. The Database is a collection of rows and columns in the Excel worksheet.

CODE
name    value        name            name    
me    1        me    3        you    60
you    20                        
me    1                        
you    20        DSUM(A1:B7,"value",D1:D2)                DSUM(A1:B7,"value",G1:G2)
me    1                        
you    20


I hope this helps.
PM me with your email address if you would like a copy of this Excel file. It can not be attached to the Forum Posting.
I have attached a pdf that might be easier to understand than the Forum posting.

*file sent by email*
Attached File(s)
Attached File  db_sample_1.pdf ( 15.35k ) Number of downloads: 2
 
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Nov 29 2007, 07:36 AM
Post #4


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,627
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042
myCENT:33.80



Excel also features Auto Filter.

Auto Filter creates drop down menu according to each column's value. So for example, creating Auto Filter for your table, you can click on the drop down menu and you'll find

(All)
fred
joe

At the end of your table, add a SUM formula that tallies up the column value, i.e. =SUM(B3:B7). Without a filter the sum of all number in B column will appear. Once you use the Auto Filter drop down process, the same SUM field will only add up values of fred or joe.

For more on Auto Filter in Excel try searching on the internet. Auto Filter is the most widely sought out feature but least likely used solution since the majority of Excel users rely on LOGIC formula than filtering process.
Go to the top of the page
 
+Quote Post
paulmason411
post Nov 30 2007, 09:18 AM
Post #5


Member [Level 1]
****

Group: Members
Posts: 69
Joined: 18-November 06
Member No.: 33,593



Thanks jlhaslip, i got the hang of it and your method works really well.
Go to the top of the page
 
+Quote Post
iGuest
post Aug 21 2008, 11:04 AM
Post #6


Hail Caesar!
*********************

Group: Members
Posts: 5,876
Joined: 21-September 07
Member No.: 50,369



Replying to paulmason411
You could just use SUMIF(range with names, "name you want",Range with values)

-reply by chuck
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Help Needed About Windows Api And Shell To Build A Shell(1)
  2. Contact Form Actionscript(3)
  3. Flash Action Scripting Help Needed(6)
  4. .htaccess(0)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 03:51 AM