Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hague2
 
Posts: n/a
Default Formula Question IF/Lookup????

I need help with a formula. I have a column with 0's or 1's in each cell.
The column to the right of this has numbers in it. I want to get the total
results of the cells to the right of 1's only? I know I can use an IF
statement for the first column, IF 0 do this, IF 1 do that. But how do I
pull the information from the cell to the right of all the 1's in the column?
Thanks
  #2   Report Post  
Dave R.
 
Posts: n/a
Default

try
=SUMPRODUCT(--(--A1:A10=1),B1:B10)



"Hague2" wrote in message
...
I need help with a formula. I have a column with 0's or 1's in each cell.
The column to the right of this has numbers in it. I want to get the

total
results of the cells to the right of 1's only? I know I can use an IF
statement for the first column, IF 0 do this, IF 1 do that. But how do I
pull the information from the cell to the right of all the 1's in the

column?
Thanks



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

one way:

=SUMIF(A:A,1,B:B)

In article ,
Hague2 wrote:

I need help with a formula. I have a column with 0's or 1's in each cell.
The column to the right of this has numbers in it. I want to get the total
results of the cells to the right of 1's only? I know I can use an IF
statement for the first column, IF 0 do this, IF 1 do that. But how do I
pull the information from the cell to the right of all the 1's in the column?
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
Formula Question...PLEASE PLEASE help! Anant Excel Worksheet Functions 3 January 16th 05 01:48 PM
Lookup/Index formula question. Barbara Excel Worksheet Functions 2 December 7th 04 04:45 PM
Parsing Data w/ a Formula (another question) carl Excel Worksheet Functions 2 December 3rd 04 06:51 PM
Formula Question John Excel Worksheet Functions 6 November 13th 04 05:05 AM
SUM array formula question Dan Excel Worksheet Functions 6 November 8th 04 05:49 AM


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