#1   Report Post  
Posted to microsoft.public.excel.misc
Tdp Tdp is offline
external usenet poster
 
Posts: 74
Default vlookup and sum???

I have the following:
cells A1:A15 has names (but can be blank)
Cells B1:B15 has values

How do I sum col B1:B15 values only if there are names in cells A1:A15.

--
Tdp
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default vlookup and sum???

How about something like this

=SUM(IF(LEN(A1:A15)1,B1:B15))

Commit with CTRL SHIFT ENTER
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Tdp" wrote:

I have the following:
cells A1:A15 has names (but can be blank)
Cells B1:B15 has values

How do I sum col B1:B15 values only if there are names in cells A1:A15.

--
Tdp

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default vlookup and sum???

Sorry, my original solution didn't work. Try this one

=SUM(IF(ISBLANK(A1:A15)=FALSE,B1:B15))
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Tdp" wrote:

I have the following:
cells A1:A15 has names (but can be blank)
Cells B1:B15 has values

How do I sum col B1:B15 values only if there are names in cells A1:A15.

--
Tdp

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default vlookup and sum???

Or even:

=SUMIF(A1:A15,"<",B1:B15)

No need for CSE.

Hope this helps.

Pete

On Dec 17, 1:04*am, Barb Reinhardt
wrote:
Sorry, my original solution didn't work. *Try this one

=SUM(IF(ISBLANK(A1:A15)=FALSE,B1:B15))
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Tdp" wrote:
I have the following:
cells A1:A15 has names (but can be blank)
Cells B1:B15 has values


How do I sum col B1:B15 values only if there are names in cells A1:A15.


--
Tdp- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default vlookup and sum???

Here's another one...

This will sum only those entries that are text and excludes formula blanks
if they might be present:

=SUMIF(A1:A15,"?*",B1:B15)

--
Biff
Microsoft Excel MVP


"Tdp" wrote in message
...
I have the following:
cells A1:A15 has names (but can be blank)
Cells B1:B15 has values

How do I sum col B1:B15 values only if there are names in cells A1:A15.

--
Tdp



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 07:57 AM.

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"