vlookup for column contain total amount

M

mfwong

I want to use vlookup to lookup only the summary total, i.e.
Product Qty
A 2
: 3
: 5
A Total 10
B 1
: 2
: 3
B Total 6
I use Vlookup to lookup by product and retrieve only yhe product total's
column.
Is any one can help?
 
R

Ragdyer

Why not just make sure that "A Total" and "B Total" are in your lookup's
first column, adjacent to the total cell.
Then use:
=VLOOKUP("A Total",A1:B100,2,0)

Or, place "A Total" in your lookup cell, say C1:
=VLOOKUP(C1,A1:B100,2,0)
 
B

Biff

Hi!

Why use two formulas when one will do? Why use a formula
to total an amount and then another formula to lookup the
total?

Biff
 
R

RagDyer

You asking me, or the OP?
--


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------

Hi!

Why use two formulas when one will do? Why use a formula
to total an amount and then another formula to lookup the
total?

Biff
 
B

Biff

You asking me, or the OP?

Simply making a suggestion to be considered!

Biff
-----Original Message-----
You asking me, or the OP?
--


Regards,

RD
---------------------------------------------------------- ----------
Please keep all correspondence within the Group, so all may benefit!
---------------------------------------------------------- ---------

Hi!

Why use two formulas when one will do? Why use a formula
to total an amount and then another formula to lookup the
total?

Biff
-----Original Message-----
Why not just make sure that "A Total" and "B Total" are in your lookup's
first column, adjacent to the total cell.
Then use:
=VLOOKUP("A Total",A1:B100,2,0)

Or, place "A Total" in your lookup cell, say C1:
=VLOOKUP(C1,A1:B100,2,0)
--
HTH,

RD

---------------------------------------------------------
- -
-----------------



.

.
 

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

Top