ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   lookup values to sum (https://www.excelbanter.com/excel-worksheet-functions/21011-lookup-values-sum.html)

andysmith25

lookup values to sum
 
using vlookup i can select a value from a different worksheet, but can i
select a range of values to sum together?

Jason Morin

If your lookup value appears multiple times, use SUMIF to
sum for each occurrence:

=VLOOKUP(A1,Sheet2!A:D,4,0)

becomes

=SUMIF(Sheet2!A:A,A1,Sheet2!D:D)

HTH
Jason
Atlanta, GA

-----Original Message-----
using vlookup i can select a value from a different

worksheet, but can i
select a range of values to sum together?
.


JulieD

Not sure if this is what you're after but check out the SUMIF function in
help and if you'ld like more assistance please reply post with additional
details of your requirements.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"andysmith25" wrote in message
...
using vlookup i can select a value from a different worksheet, but can i
select a range of values to sum together?





All times are GMT +1. The time now is 02:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com