A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

conditional formula needed



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 09:32 PM posted to microsoft.public.excel.worksheet.functions
kylefoley2000
external usenet poster
 
Posts: 7
Default conditional formula needed

it might be possible to do this as a conditional formula (=if) otherwise a
macro might be needed.

the thing i'm unsure about is this formula looks at the cells beneath it and
keeps looking until a result is returned, i'm not sure if that can be done as
a conditional formula.

if you really want to know what this is for send me a pm and i'll tell you.


if m3 = 0 then ""
if l3 = i then ""
if m3 = 1 and if l3 = "c" and if i3 0

and if e4 – d3 -.0066 then result = 1
write result in n3
else go to row 5

if e5 – d3 -.0066 then result = 1

if d5 = d3 then result = 0

i seriously doubt this will happen but in case it does
if e5 – d3 -.0066 and if d5 d3 then result = "ambiguous"
else go to next row
keep going down the rows (it should not take any more than 3 or 4) until
either


if i3 0
and if e4 – d3 .0066 then result = 1
write result in n3
else go to row 5

if e5 – d3 .0066 then result = 1
if d5 d3 then result = 0

must loop through all the rows, there 8800 of them
  #2  
Old April 20th, 2010, 04:41 AM posted to microsoft.public.excel.worksheet.functions
kylefoley2000
external usenet poster
 
Posts: 7
Default conditional formula needed

any thoughts on this?

"kylefoley2000" wrote:

it might be possible to do this as a conditional formula (=if) otherwise a
macro might be needed.

the thing i'm unsure about is this formula looks at the cells beneath it and
keeps looking until a result is returned, i'm not sure if that can be done as
a conditional formula.

if you really want to know what this is for send me a pm and i'll tell you.


if m3 = 0 then ""
if l3 = i then ""
if m3 = 1 and if l3 = "c" and if i3 0

and if e4 – d3 -.0066 then result = 1
write result in n3
else go to row 5

if e5 – d3 -.0066 then result = 1

if d5 = d3 then result = 0

i seriously doubt this will happen but in case it does
if e5 – d3 -.0066 and if d5 d3 then result = "ambiguous"
else go to next row
keep going down the rows (it should not take any more than 3 or 4) until
either


if i3 0
and if e4 – d3 .0066 then result = 1
write result in n3
else go to row 5

if e5 – d3 .0066 then result = 1
if d5 d3 then result = 0

must loop through all the rows, there 8800 of them

  #3  
Old April 20th, 2010, 07:17 PM posted to microsoft.public.excel.worksheet.functions
Duke Carey
external usenet poster
 
Posts: 1,027
Default conditional formula needed

It's hard for anybody to have an idea because your statement of the problem
is long on minute points but short on a concise statement of what you are
trying to do. Help us help you by being clear and concise about what you are
trying to accomplish.


"kylefoley2000" wrote:

any thoughts on this?

"kylefoley2000" wrote:

it might be possible to do this as a conditional formula (=if) otherwise a
macro might be needed.

the thing i'm unsure about is this formula looks at the cells beneath it and
keeps looking until a result is returned, i'm not sure if that can be done as
a conditional formula.

if you really want to know what this is for send me a pm and i'll tell you.


if m3 = 0 then ""
if l3 = i then ""
if m3 = 1 and if l3 = "c" and if i3 0

and if e4 – d3 -.0066 then result = 1
write result in n3
else go to row 5

if e5 – d3 -.0066 then result = 1

if d5 = d3 then result = 0

i seriously doubt this will happen but in case it does
if e5 – d3 -.0066 and if d5 d3 then result = "ambiguous"
else go to next row
keep going down the rows (it should not take any more than 3 or 4) until
either


if i3 0
and if e4 – d3 .0066 then result = 1
write result in n3
else go to row 5

if e5 – d3 .0066 then result = 1
if d5 d3 then result = 0

must loop through all the rows, there 8800 of them

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.