Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default question about =IF()

=IF(B10:B16B18,1,COUNTIF(B10:B16,"=1"))

in this formule, im trying to check if B10 is greater then B18, then
return 1 if it is, and count 1
then i want the program to do B11, and see if it is greater then B18,
then return 1 if it is, and count 1
i want this to go on and stop after B16

but this doesnt work, the part of the equation that doesnt seem to be
allowed is the B10:B16B18

is this even possible with a IF() function? is there any sort of
while() function like in C++ or any function that would allow me to
check through all of B10 through B16 to check to see if they are
greater then B18, and if they are, count those that are bigger only
(dont count those that are smaller)


thanks!
peace!
:)



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default question about =IF()

One way, if I understand you correctly:

=COUNTIF(B10:B16,"" & B18)

I'm not sure what the other COUNTIF() in the False branch is
supposed to be doing for you.

In article ,
persian_boi wrote:

=IF(B10:B16B18,1,COUNTIF(B10:B16,"=1"))

in this formule, im trying to check if B10 is greater then B18, then
return 1 if it is, and count 1
then i want the program to do B11, and see if it is greater then B18,
then return 1 if it is, and count 1
i want this to go on and stop after B16

but this doesnt work, the part of the equation that doesnt seem to be
allowed is the B10:B16B18

is this even possible with a IF() function? is there any sort of
while() function like in C++ or any function that would allow me to
check through all of B10 through B16 to check to see if they are
greater then B18, and if they are, count those that are bigger only
(dont count those that are smaller)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default question about =IF()

wOot woOt ! :D


nice!

thanks!
peace!
:)



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
if question Matt Excel Discussion (Misc queries) 3 September 25th 08 10:10 PM
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


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