#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Conditional Sum

Hi, I am trying to get totals at the bottom of my report based on
another columns value. I am trying to sum all of the values to the
right of every instance of this value above. I tried a vlookup formula
but it only returns the first value where the logic is true. I will
give you my vlookup formula so that this may make more sense.
=VLOOKUP(K3037,K$4:L$3027,2,FALSE)
Where K3037 = 1.1, so I want the sum of the values (in column L) for
every instance of 1.1 in the range k4:k3027. There may be 10 instances
of 1.1 in column L in that range so the formula must take into account
all instances.

I hope this is clear and I appreciate any help in advance!

-Brian

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Conditional Sum

Thanks for the reply Don. I have played around with the sumif formula a
bit and can't seem to get it to do what I need. Do you have any
pointers? I think where my formula won't work the criteria portion. I
am trying to say k3037=$k$4:$k$3027 excel doesn't seem to like this.
Any ideas on what I could use for my criteria, range, and sum_range to
get this formula to work? Or could you give me a similar example that i
could tailor to fit my ranges?

Thanks,
brian

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Conditional Sum

Got it, thanks for your help Don. My problem was that I was trying to
use a cell reference for the criteria and it only allows you to use a
number, text or an expression. I had to manually type the criteria then
for every formula, but this was a quick workaround for conditionally
summing 3000 rows.

Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Conditional Sum

No you can use a cell reference, for instance

=SUMIF(A:A,"="&H1,B:B)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Bongard" wrote in message
oups.com...
Got it, thanks for your help Don. My problem was that I was trying to
use a cell reference for the criteria and it only allows you to use a
number, text or an expression. I had to manually type the criteria then
for every formula, but this was a quick workaround for conditionally
summing 3000 rows.

Thanks!





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
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
Conditional Format Not Working KMH Excel Discussion (Misc queries) 0 December 22nd 05 05:32 PM
Conditional formula - language needed gamebird Excel Worksheet Functions 7 October 10th 05 11:48 PM
VLOOKUP & Conditional Formating Help. Excel'ed Failures Excel Discussion (Misc queries) 6 August 16th 05 04:46 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 10:48 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"