ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Lookup (https://www.excelbanter.com/new-users-excel/91917-lookup.html)

kaushik

Lookup
 

I have 3 columns. Column A data is all text, Column B data is numeric,
and Column D data is currency. I need to lookup for a string in column
A lets say "XYZ" or "PQR". For all instances of XYZ I need to compute
the total of all the numeric values for XYZ in column B and also the
total of all currencies correxponding to XYZ. The results should be in
two different cells. If Column A is null, equate 0 to both cells( total
of all numerics values and total of currency values).

Thanks you all in advance for your help.

PS: If I have to reference the columns in a different sheet how do I do
it.


--
kaushik
------------------------------------------------------------------------
kaushik's Profile: http://www.excelforum.com/member.php...o&userid=34715
View this thread: http://www.excelforum.com/showthread...hreadid=547984


Chip Pearson

Lookup
 
See the SUMIF function.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"kaushik"
wrote in message
...

I have 3 columns. Column A data is all text, Column B data is
numeric,
and Column D data is currency. I need to lookup for a string in
column
A lets say "XYZ" or "PQR". For all instances of XYZ I need to
compute
the total of all the numeric values for XYZ in column B and
also the
total of all currencies correxponding to XYZ. The results
should be in
two different cells. If Column A is null, equate 0 to both
cells( total
of all numerics values and total of currency values).

Thanks you all in advance for your help.

PS: If I have to reference the columns in a different sheet how
do I do
it.


--
kaushik
------------------------------------------------------------------------
kaushik's Profile:
http://www.excelforum.com/member.php...o&userid=34715
View this thread:
http://www.excelforum.com/showthread...hreadid=547984





All times are GMT +1. The time now is 07:53 PM.

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