#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default vlookup vs sum

I'm trying to adapt a spreadsheet set-up by someone else for my own use. They
use VLOOKUP and HLOOKUP throughout the doc. The cells pull off of other tabs
in the worksheet. I would rather use the SUM function and click on the cells
I want from other tabs. Would that be just as effective? If not, why is
VLOOKUP better to use? We are using it to calculate company turnover numbers.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default vlookup vs sum

Hi,

These two functions don't serve the same purpose, they are not
interchangeable. Suppose the entriy that you want returned from the other
sheet changes. Then if you are using SUM you will need to reenter it or edit
it. If VLOOKUP is correctly used it means the formula will be more dynamic
and flexible and you won't need to modify it. Also, if you are simply
referencing 1 cell, SUM is not the correct approach, just type = and click on
the cell in the other sheet.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Bronwen" wrote:

I'm trying to adapt a spreadsheet set-up by someone else for my own use. They
use VLOOKUP and HLOOKUP throughout the doc. The cells pull off of other tabs
in the worksheet. I would rather use the SUM function and click on the cells
I want from other tabs. Would that be just as effective? If not, why is
VLOOKUP better to use? We are using it to calculate company turnover numbers.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default vlookup vs sum

they are not interchangeable.

...........A..........B
1......Tom.......15
2......Sue........21
3......Lisa.......17
4......Bill.........20

=VLOOKUP("Lisa",A1:B4,2,0)
=SUMIF(A1:A4,"Lisa",B1:B4)

When the lookup_value is unique and the value to be returned is numeric they
are interchangeable. And, in this application SUMIF is more efficient.

--
Biff
Microsoft Excel MVP


"Shane Devenshire" wrote in
message ...
Hi,

These two functions don't serve the same purpose, they are not
interchangeable. Suppose the entriy that you want returned from the other
sheet changes. Then if you are using SUM you will need to reenter it or
edit
it. If VLOOKUP is correctly used it means the formula will be more
dynamic
and flexible and you won't need to modify it. Also, if you are simply
referencing 1 cell, SUM is not the correct approach, just type = and click
on
the cell in the other sheet.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Bronwen" wrote:

I'm trying to adapt a spreadsheet set-up by someone else for my own use.
They
use VLOOKUP and HLOOKUP throughout the doc. The cells pull off of other
tabs
in the worksheet. I would rather use the SUM function and click on the
cells
I want from other tabs. Would that be just as effective? If not, why is
VLOOKUP better to use? We are using it to calculate company turnover
numbers.



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 - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 12:56 PM.

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

About Us

"It's about Microsoft Excel"