ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum column of vlookup (https://www.excelbanter.com/excel-worksheet-functions/162228-sum-column-vlookup.html)

mjones

Sum column of vlookup
 
Hi all,

Here I am again trying to do things that I don't know how to do.

Here's the formula in O37 - =VLOOKUP(O18,DE18:DG36,3)

Of course this is for row 18 in column O and there are 36 rows.

O37 should sum all the rows, not just row 18.

It's probably some form of =sum and an array, ahh.

Thanks,

Michele


Max

Sum column of vlookup
 
One guess ..

Try in O37: =SUMIF(DE18:DE36,O18,DG18:DG36)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"mjones" wrote in message
ups.com...
Hi all,

Here I am again trying to do things that I don't know how to do.

Here's the formula in O37 - =VLOOKUP(O18,DE18:DG36,3)

Of course this is for row 18 in column O and there are 36 rows.

O37 should sum all the rows, not just row 18.

It's probably some form of =sum and an array, ahh.

Thanks,

Michele




mjones

Sum column of vlookup
 
On Oct 15, 7:08 pm, "Max" wrote:
One guess ..

Try in O37: =SUMIF(DE18:DE36,O18,DG18:DG36)
--
Max
Singaporehttp://savefile.com/projects/236895
xdemechanik
---"mjones" wrote in message

ups.com...



Hi all,


Here I am again trying to do things that I don't know how to do.


Here's the formula in O37 - =VLOOKUP(O18,DE18:DG36,3)


Of course this is for row 18 in column O and there are 36 rows.


O37 should sum all the rows, not just row 18.


It's probably some form of =sum and an array, ahh.


Thanks,


Michele- Hide quoted text -


- Show quoted text -


Not quite; it's still only adds one row.

Please try this test spreadsheet to see what I mean -
http://www.quality-computing.com/test.xls.


Max

Sum column of vlookup
 
Ah, I see. This should do it:
=SUMPRODUCT(--($DE$18:$DE$36=U$18:U$36),$DG$18:$DG$36)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"mjones" wrote
Not quite; it's still only adds one row.

Please try this test spreadsheet to see what I mean -
http://www.quality-computing.com/test.xls.




mjones

Sum column of vlookup
 
On Oct 15, 7:43 pm, "Max" wrote:
Ah, I see. This should do it:
=SUMPRODUCT(--($DE$18:$DE$36=U$18:U$36),$DG$18:$DG$36)
--
Max
Singaporehttp://savefile.com/projects/236895
xdemechanik
---
"mjones" wrote



Not quite; it's still only adds one row.


Please try this test spreadsheet to see what I mean -
http://www.quality-computing.com/test.xls.- Hide quoted text -


- Show quoted text -


Perfect. Rocket science to me when you get into that double dash.
Thanks!!


Max

Sum column of vlookup
 
welcome. glad it helped.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"mjones" wrote
Perfect. Rocket science to me when you get into that double dash.
Thanks!!





All times are GMT +1. The time now is 04:33 AM.

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