order form total

H

hawkeyeted

I have 2 columns that I am trying to total into one cell. Column B is the
number of items ordered. There are about 35 different items. Column D is the
price of each item with each item having a different price. I want a cell at
the bottom to reflect the number of items ordered multiplied by each of their
prices for a grand total. I know how to do this the long way
=(B1*D1)+(B2*D2)+...etc but is there an easier way to do this? A function I
don't know about?
 
A

Ashish Mathur

Hi,

Though sumproduct() is the best way to solve this problem, you can also use
the following array formula (Ctrl+Shift+Enter)

SUM(B2:B37*D2:D37)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top