Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() This is driving me crazy....I am trying to debug and understand some cell computations using Excel 2003...but all it does it return an #VALUE error: =IF($A$2:$A$26<=H$1,1,0) But the following WORKS and produces the correct result: = 100 * SUM(IF(($A$2:$A$26<=G$1) *( $B$2:$B$26 <= $F2),$C$2:$C$26,0))/$C$27 WHY ? key issue he how to properly compare a vector to a single cell. My take on this: $A$2:$A$26<=G$1 Each cell in Column A from 2-26 is being compared to G1. If ANY ONE OF THEM is less than G1, then the result is "True".... correct ? Is there a better, MORE APPROPRIATE way to do this ? -- msimms ------------------------------------------------------------------------ msimms's Profile: http://www.excelforum.com/member.php...o&userid=30382 View this thread: http://www.excelforum.com/showthread...hreadid=500441 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copying cell names | Excel Discussion (Misc queries) | |||
Shading a range based on a single cell value. | Excel Discussion (Misc queries) | |||
cell color index comparison | New Users to Excel | |||
xls worksheet formatting a single cell | Excel Discussion (Misc queries) | |||
Reveal cell formats and extendable range in tool/statusbar/icon. | Excel Worksheet Functions |