Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Returning a value when two columns are compared


Hi All,

Thanks in advance for any help you can give, I'm tearing my hair out
trying to figure this one out.

I am looking to sum the values in column A IF a search in column B has
corresponding values in column C.

So as per the example below the result should read: 665,600.0

Size LUN Name Mirror
153,600.0 MB LUN 0
153,600.0 MB LUN 1 LUN 27
153,600.0 MB LUN 2
256,000.0 MB LUN 3
256,000.0 MB LUN 4 LUN9
256,000.0 MB LUN 5
256,000.0 MB LUN 6 LUN4

Kind regards,
Fin
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Returning a value when two columns are compared

Not sure why you are looking in B?

=SUMIF(A:A,"""",B:B) would get it...

if you need to look at somethign in B:

=SUMPRODUCT(--($B$2:$B$1000=something),--($C$2:$C$1000<""),$A$2:$A$1000)

"MammaFin" wrote:


Hi All,

Thanks in advance for any help you can give, I'm tearing my hair out
trying to figure this one out.

I am looking to sum the values in column A IF a search in column B has
corresponding values in column C.

So as per the example below the result should read: 665,600.0

Size LUN Name Mirror
153,600.0 MB LUN 0
153,600.0 MB LUN 1 LUN 27
153,600.0 MB LUN 2
256,000.0 MB LUN 3
256,000.0 MB LUN 4 LUN9
256,000.0 MB LUN 5
256,000.0 MB LUN 6 LUN4

Kind regards,
Fin

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Returning a value when two columns are compared

On Sep 2, 3:48*pm, Sean Timmons
wrote:
Not sure why you are looking in B?

=SUMIF(A:A,"""",B:B) would get it...

if you need to look at somethign in B:

=SUMPRODUCT(--($B$2:$B$1000=something),--($C$2:$C$1000<""),$A$2:$A$1000)



"MammaFin" wrote:

Hi All,


Thanks in advance for any help you can give, I'm tearing my hair out
trying to figure this one out.


I am looking to sum the values in column A IF a search in column B has
corresponding values in column C.


So as per the example below the result should read: 665,600.0


Size * * * * * * * * * LUN Name * *Mirror
153,600.0 MB * * * LUN 0
153,600.0 MB * * * LUN 1 * LUN 27
153,600.0 MB * * * LUN 2
256,000.0 MB * * * LUN 3
256,000.0 MB * * * LUN 4 * LUN9
256,000.0 MB * * * LUN 5
256,000.0 MB * * * LUN 6 * LUN4


Kind regards,
Fin



Sean Your a star!! I will post another request in 2 min if you get a
chance to look at it I'd be really appreciative - I'm a complete
novice so any help I get is a real bonus!
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
returning one arguement from several columns Reza Excel Worksheet Functions 1 November 6th 08 10:09 AM
Matching Three columns and returning a value Rob Excel Discussion (Misc queries) 5 April 29th 08 09:04 AM
comparing columns and returning max value [email protected] Excel Discussion (Misc queries) 2 October 13th 06 02:03 PM
Returning a Value by Matching Two Columns of Data Christine Edwards Excel Worksheet Functions 5 May 10th 06 07:28 PM
I need to match multiple columns before returning a value hgopp99 Excel Discussion (Misc queries) 2 January 16th 06 02:46 PM


All times are GMT +1. The time now is 01:46 AM.

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"