Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default If then Statements in Excel

I want to create a formula that evaluates an adjacent cell for a yes
condition, if that condition is met, I want to sum to other cells, any
sugestions?
--
kyle
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 905
Default If then Statements in Excel

"Kyle" wrote:
I want to create a formula that evaluates an adjacent cell for a yes
condition, if that condition is met, I want to sum to other cells, any
sugestions?


You are more likely to get useful responses if you provide more specifics
(cell names; formulas that you tried, but they do not work for you; etc).
Otherwise, the useful of a response is the result of "dumb luck".

If the adjacent cell is B1 and the "other cells" are C1 through H1, then in
A1 write:

=if(B1="yes", sum(C1:H1), "")

The leaves the A1 appearing blank if the condition is not met.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 903
Default If then Statements in Excel

"Joe User" <joeu2004 wrote in message ...
"Kyle" wrote:
I want to create a formula that evaluates an adjacent cell for a yes
condition, if that condition is met, I want to sum to other cells, any
sugestions?


You are more likely to get useful responses if you provide more specifics
(cell names; formulas that you tried, but they do not work for you; etc).
Otherwise, the useful of a response is the result of "dumb luck".

If the adjacent cell is B1 and the "other cells" are C1 through H1, then in
A1 write:

=if(B1="yes", sum(C1:H1), "")

The leaves the A1 appearing blank if the condition is not met.


Another interpretation, see
SUMIF Example
http://www.mvps.org/dmcritchie/excel/sumif.htm

The statement uses the word "to", keep in mind that formulas
do not change the values in other cells, you have to bring the
data to the cell with the formula.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eva Eva is offline
external usenet poster
 
Posts: 197
Default If then Statements in Excel

Please enter the formula in the tab named "recent"
=IF(ROW($A2)<=COUNTIF(All!$F:$F,"?*"),INDEX(All!A: A,SMALL(IF(All!$F$1:$F$100<"",ROW($A$1:$A$100)),R OW($A2))),"")

--
Eva
Click yes if I helped

"Joe User" wrote:

"Kyle" wrote:
I want to create a formula that evaluates an adjacent cell for a yes
condition, if that condition is met, I want to sum to other cells, any
sugestions?


You are more likely to get useful responses if you provide more specifics
(cell names; formulas that you tried, but they do not work for you; etc).
Otherwise, the useful of a response is the result of "dumb luck".

If the adjacent cell is B1 and the "other cells" are C1 through H1, then in
A1 write:

=if(B1="yes", sum(C1:H1), "")

The leaves the A1 appearing blank if the condition is not met.

.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If then Statements in Excel

Which other cells? Please explain what you have, and what you want to
achieve, more clearly.

Pete

On Dec 14, 8:13*pm, Kyle wrote:
I want to create a formula that evaluates an adjacent cell for a yes
condition, if that condition is met, I want to sum to other cells, any
sugestions?
--
kyle




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
If statements in Excel Joel Excel Discussion (Misc queries) 2 December 17th 07 11:34 AM
If\then statements in Excel [email protected] Excel Worksheet Functions 1 October 24th 07 07:10 PM
Excel - Any Help On If Statements BONJOVI2005 Excel Discussion (Misc queries) 2 December 12th 05 10:04 AM
Excel If Statements, please help! izzie Excel Worksheet Functions 4 December 8th 05 08:36 PM
Excel Help with IF statements alexm999 Excel Discussion (Misc queries) 1 July 26th 05 08:54 PM


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