LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AussieExcelUser
 
Posts: n/a
Default Help on performing calculations on formula results


I need to apply the "RANDBETWEEN" function to a formula result in a cell
and am having difficulty. I can get the following formula to work by
using the "Iteration" function set to 1 but get erratic results,
including values added to cells where there were no values as a result
of the Lookup:

"=if(if(isna(vlookup($A$1,sheet2!A$1$:B$1,2,false) ),"0",vlookup($A$1,sheet2!A$1$:$B$1,2,false))30,R ANDBETWEEN(20,30),A1)"

What I want to do is generate a random number between 20 and 30 if the
result of the lookup is greater than 30. The lookup can result in
values from negative 500 through to postive 500.

Any help would be appreciated as this is driving me nuts and costing a
lot of development time.


--
AussieExcelUser
------------------------------------------------------------------------
AussieExcelUser's Profile: http://www.excelforum.com/member.php...o&userid=32326
View this thread: http://www.excelforum.com/showthread...hreadid=520848

 
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
Help! All results of my formula are the same! ziak Excel Discussion (Misc queries) 3 February 28th 06 08:13 PM
CSE formula results sa02000 Excel Discussion (Misc queries) 4 February 7th 06 03:52 PM
How do I view formula results intead of formula in excel? davidinatlanta Excel Worksheet Functions 4 February 7th 06 03:02 PM
no formula results in cell schuldies21 Excel Worksheet Functions 3 September 7th 05 08:20 AM
Cells displays formula, not results synaptic5150 Excel Worksheet Functions 1 January 19th 05 09:56 PM


All times are GMT +1. The time now is 11:08 AM.

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"