Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Lee
 
Posts: n/a
Default Is there a formula for this?

I want cell A6 to show the sum of cells A1,A2,A3,A4, and A5 however of those
5 cells I only want it to add the cells that have an "X" in the corresponding
B cell beside it. Is there a way to do this?
--
Lee Davenport
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default Is there a formula for this?

Hi Lee

=SUMIF(B1:B5,"x",A1:A5)


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Lee" wrote in message ...
I want cell A6 to show the sum of cells A1,A2,A3,A4, and A5 however of those
5 cells I only want it to add the cells that have an "X" in the corresponding
B cell beside it. Is there a way to do this?
--
Lee Davenport



  #3   Report Post  
Posted to microsoft.public.excel.misc
Steve Yandl
 
Posts: n/a
Default Is there a formula for this?

=SUMIF(B1:B5,"=x",A1:A5)


Steve


"Lee" wrote in message
...
I want cell A6 to show the sum of cells A1,A2,A3,A4, and A5 however of
those
5 cells I only want it to add the cells that have an "X" in the
corresponding
B cell beside it. Is there a way to do this?
--
Lee Davenport



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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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