Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

IF Function formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jennifer - 10 May 2008 20:12 GMT
I posted this in the general questions but it's better suited for here:

Hi I need some help figuring out if it is possible to create a formula.

I'm trying to link information from different pages in a spreadsheet that
contain id's for people and prices they are paying for some items my church
is selling. We have a main worksheet that lists their names and the ids and
then we have another worksheet that lists all the items they can buy with
it's price.

Is it possible to create a formula in the name page that says "If you find
id #1 in column A, then sum the prices from column D". The ids will be spread
out throughout column A so we need a formula to locate each instance of the
id and then grab the price listed each time in column D and sum those prices
up.

Is this possible and if yes can someone tell me how to do it.

Thanks
Billy Liddel - 10 May 2008 21:31 GMT
Jennifer, try this

=SUMPRODUCT(--('Sales record'!$A$2:$A$30='Paddle owners'!A2)*('Sales
record'!$D$2:$D$30))

enter this on the paddle owners sheet in row 2 and copy down. Change the
range to suit just make sure that the both columns, A & D have the same
number of rows.

Regards
Peter

> I posted this in the general questions but it's better suited for here:
>
[quoted text clipped - 15 lines]
>
> Thanks
Jennifer - 10 May 2008 23:55 GMT
This is PERFECT! Thank you!

> Jennifer, try this
>
[quoted text clipped - 27 lines]
> >
> > Thanks
Bob Phillips - 11 May 2008 00:55 GMT
No need for -- and *, you are doing the same job twice.

Either

=SUMPRODUCT(--('Sales record'!$A$2:$A$30='Paddle owners'!A2),--('Sales
record'!$D$2:$D$30))

or

=SUMPRODUCT(('Sales record'!$A$2:$A$30='Paddle owners'!A2)*('Sales
record'!$D$2:$D$30))

is sufficient

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Jennifer, try this
>
[quoted text clipped - 33 lines]
>>
>> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.