#1   Report Post  
Posted to microsoft.public.excel.misc
Moy Emrick
 
Posts: n/a
Default Adding using Vlookup

I wanted to use a vlookup formula to locate values using "data" as my
reference point and add them. There are several cells that reference "data,"
however, when I run my formula, can only pick one of the values up and not
add all the other values using "data."

=+IF(VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0),SUM(VLOOKUP(E18,'DD1921
Summary'!$C$18:$N$262,7,0),""))

This is the generic formula that locates one of the "data" values, but not
the sum of all the values using "data" as a reference point.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Moy Emrick
 
Posts: n/a
Default Adding using Vlookup

Actually, the formula entered will give you a #value. The generic formula I
used was +VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0)

"Moy Emrick" wrote:

I wanted to use a vlookup formula to locate values using "data" as my
reference point and add them. There are several cells that reference "data,"
however, when I run my formula, can only pick one of the values up and not
add all the other values using "data."

=+IF(VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0),SUM(VLOOKUP(E18,'DD1921
Summary'!$C$18:$N$262,7,0),""))

This is the generic formula that locates one of the "data" values, but not
the sum of all the values using "data" as a reference point.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Nikki
 
Posts: n/a
Default Adding using Vlookup

I am not sure how your data looks but have you considered using sumif formula.

=sumif(range,value)

Nikki

"Moy Emrick" wrote:

Actually, the formula entered will give you a #value. The generic formula I
used was +VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0)

"Moy Emrick" wrote:

I wanted to use a vlookup formula to locate values using "data" as my
reference point and add them. There are several cells that reference "data,"
however, when I run my formula, can only pick one of the values up and not
add all the other values using "data."

=+IF(VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0),SUM(VLOOKUP(E18,'DD1921
Summary'!$C$18:$N$262,7,0),""))

This is the generic formula that locates one of the "data" values, but not
the sum of all the values using "data" as a reference point.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Moy Emrick
 
Posts: n/a
Default Adding using Vlookup

Oh, nikki you're so fine you're so fin you blow my mind, hey Nikki!

Yeah, I just figured it out a few minutes ago. Thanks for the followup though!

moy

"Nikki" wrote:

I am not sure how your data looks but have you considered using sumif formula.

=sumif(range,value)

Nikki

"Moy Emrick" wrote:

Actually, the formula entered will give you a #value. The generic formula I
used was +VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0)

"Moy Emrick" wrote:

I wanted to use a vlookup formula to locate values using "data" as my
reference point and add them. There are several cells that reference "data,"
however, when I run my formula, can only pick one of the values up and not
add all the other values using "data."

=+IF(VLOOKUP(E18,'DD1921 Summary'!$C$18:$N$262,7,0),SUM(VLOOKUP(E18,'DD1921
Summary'!$C$18:$N$262,7,0),""))

This is the generic formula that locates one of the "data" values, but not
the sum of all the values using "data" as a reference point.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup - effect of adding columns Paul Excel Discussion (Misc queries) 5 April 16th 08 07:39 AM
Adding to VLOOKUP table billy_bags Excel Discussion (Misc queries) 3 October 18th 05 06:17 PM
Adding a Macro to a VLookup Function Wanda H. Excel Discussion (Misc queries) 1 August 16th 05 08:37 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


All times are GMT +1. The time now is 04:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"