Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default Please explain formula to me

I have following formula suggested to me, but I do not understand the
functions of it. To use it in different case, I would neewd to addapt it. can
someone explain it to me please?
=0.25*((40-COUNTBLANK(B3:B40))/2-1)*(COUNTBLANK(B3:B40)<40/24
When I change the ranges the formula returns wrong data.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 623
Default Please explain formula to me

Your problem probably is the 'countblank(b3:b40)<40' part.

This returns true (=1) if there are less than forty blanks in the range, else
false (=0). So you are either multiplying by 1 or 0 depending on how many blanks
are in the range.

As a range of b3:b40 can never have more than 40 blanks, this formula always
evaluates to true (=1), and has no impact on the result. However, if you expand
the range to more than 40 cells, you could get a zero result, because 0 times
anything results in 0.

Is this your problem?

--
Regards,
Fred


"Paul" wrote in message
...
I have following formula suggested to me, but I do not understand the
functions of it. To use it in different case, I would neewd to addapt it. can
someone explain it to me please?
=0.25*((40-COUNTBLANK(B3:B40))/2-1)*(COUNTBLANK(B3:B40)<40/24
When I change the ranges the formula returns wrong data.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Please explain formula to me

First thing is you're missing a ")". Since I don't know what your intentions
are with this formula I put the missing ")" at the end of the formula so
that it would at least return something:

=0.25*((40-COUNTBLANK(B3:B40))/2-1)*(COUNTBLANK(B3:B40)<40/24)

Here is how Excel is calculating that formula:

40-COUNTBLANK(B3:B40)
40-COUNTBLANK(B3:B40))/2
40-COUNTBLANK(B3:B40))/2-1
0.25*((40-COUNTBLANK(B3:B40))/2-1)
COUNTBLANK(B3:B40)
COUNTBLANK(B3:B40)<40/24
=0.25*((40-COUNTBLANK(B3:B40))/2-1)*(COUNTBLANK(B3:B40)<40/24)

The steps Excel takes to arrive at a result can mean the difference between
the correct result and an incorrect result.

Biff

"Fred Smith" wrote in message
...
Your problem probably is the 'countblank(b3:b40)<40' part.

This returns true (=1) if there are less than forty blanks in the range,
else false (=0). So you are either multiplying by 1 or 0 depending on how
many blanks are in the range.

As a range of b3:b40 can never have more than 40 blanks, this formula
always evaluates to true (=1), and has no impact on the result. However,
if you expand the range to more than 40 cells, you could get a zero
result, because 0 times anything results in 0.

Is this your problem?

--
Regards,
Fred


"Paul" wrote in message
...
I have following formula suggested to me, but I do not understand the
functions of it. To use it in different case, I would neewd to addapt it.
can
someone explain it to me please?
=0.25*((40-COUNTBLANK(B3:B40))/2-1)*(COUNTBLANK(B3:B40)<40/24
When I change the ranges the formula returns wrong data.





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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM


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