Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Expanding Range in Formula?

The formula below works the way I want it to for cell O5. How can I
open this formula up for a range of cells O5:O20?

=IF(O5(O22-4*D3),"Bad Data",0)

As always, much appreciated for the advice.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Expanding Range in Formula?


=IF(Sumproduct(--(O5:O20(O22-4*D3))),"Bad Data",0)

This will return "Bad Data" if any value in O5:O20 is greater
thanO22-4*D3


--
NBVC

Where there is a will there are many ways.

'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122849

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Expanding Range in Formula?

Hello-

Can I ask what is the purpose of the two dashes in the formula?

Thanks
--
OneFineDay


"NBVC" wrote:


=IF(Sumproduct(--(O5:O20(O22-4*D3))),"Bad Data",0)

This will return "Bad Data" if any value in O5:O20 is greater
thanO22-4*D3


--
NBVC

Where there is a will there are many ways.

'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122849


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Expanding Range in Formula?

Double unary minus:
a.. http://www.mcgimpsey.com/excel/formulae/doubleneg.html
b.. http://xldynamic.com/source/xld.SUMPRODUCT.html

--
David Biddulph

"M Thompson" wrote in message
...
Hello-

Can I ask what is the purpose of the two dashes in the formula?

Thanks
--
OneFineDay


"NBVC" wrote:


=IF(Sumproduct(--(O5:O20(O22-4*D3))),"Bad Data",0)

This will return "Bad Data" if any value in O5:O20 is greater
thanO22-4*D3


--
NBVC

Where there is a will there are many ways.

'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=122849




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Expanding Range in Formula?

On Aug 6, 3:12*am, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
Double unary minus:
* a..http://www.mcgimpsey.com/excel/formulae/doubleneg.html
* b..http://xldynamic.com/source/xld.SUMPRODUCT.html

--
David Biddulph

"M Thompson" wrote in message

...



Hello-


Can I ask what is the purpose of the two dashes in the formula?


Thanks
--
OneFineDay


"NBVC" wrote:


=IF(Sumproduct(--(O5:O20(O22-4*D3))),"Bad Data",0)


This will return "Bad Data" if any value in O5:O20 is greater
thanO22-4*D3


--
NBVC


Where there is a will there are many ways.


'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile:http://www.thecodecage.com/forumz/member.php?userid=74
View this thread:
http://www.thecodecage.com/forumz/sh....php?t=122849- Hide quoted text -


- Show quoted text -


Thanks again for the great support. Formula was exactly what I was
looking for. Much appreciated!
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
Expanding a formula from a cell to a range ManhattanRebel Excel Discussion (Misc queries) 5 May 3rd 09 09:37 PM
Expanding a named range jayceejay Excel Worksheet Functions 3 November 11th 08 01:52 AM
expanding the size of all cells in a range thomas donino Excel Discussion (Misc queries) 1 July 10th 08 10:16 AM
Expanding a Range Automatically Rob E Excel Discussion (Misc queries) 6 January 25th 08 05:57 AM
expanding a range of numbers chchch Excel Discussion (Misc queries) 1 February 28th 06 07:51 PM


All times are GMT +1. The time now is 01:10 PM.

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"