Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula to move from cell to cell

I need to create a formula that looks at cell P6 and if < 0 does a
calculation, if P6 is equal to 0 it moves to cell Q6 and looks to see if it
is 0 or not, if not then it creates a calculation then onto cell R6 etc.
The calculation needs to be based on whatever the last cell is that is <0.
P6 is the last cell <0 then use that otherwise move to the next cell.
The formula needs to be applicable up to cell W6.
Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula to move from cell to cell

Ok, so if a cell <0 does that mean it contains some number other than 0? If
so, are these numbers always positive?

--
Biff
Microsoft Excel MVP


"liz25mc" wrote in message
...
I need to create a formula that looks at cell P6 and if < 0 does a
calculation, if P6 is equal to 0 it moves to cell Q6 and looks to see if
it
is 0 or not, if not then it creates a calculation then onto cell R6 etc.
The calculation needs to be based on whatever the last cell is that is
<0.
P6 is the last cell <0 then use that otherwise move to the next cell.
The formula needs to be applicable up to cell W6.
Thanks in advance!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Formula to move from cell to cell

Hi,

This returns the number for you to do the calculation on

=INDEX(P6:W6,MATCH(TRUE,INDEX((P6:W6<0),0),0))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"liz25mc" wrote:

I need to create a formula that looks at cell P6 and if < 0 does a
calculation, if P6 is equal to 0 it moves to cell Q6 and looks to see if it
is 0 or not, if not then it creates a calculation then onto cell R6 etc.
The calculation needs to be based on whatever the last cell is that is <0.
P6 is the last cell <0 then use that otherwise move to the next cell.
The formula needs to be applicable up to cell W6.
Thanks in advance!

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
Formula to change move down one cell Ross Excel Discussion (Misc queries) 5 December 5th 08 01:44 PM
Move Cell Value to Right Using Formula [email protected] Excel Worksheet Functions 4 March 4th 07 05:43 PM
formula, move to previous cell when the current cell=0 or empty osama amer Excel Discussion (Misc queries) 0 May 29th 06 12:18 PM
How to keep a cell ref in formula unchanged when the ref cell move Clifton Ford Excel Discussion (Misc queries) 2 March 14th 06 04:55 PM
How do I move from a cell containing the formula TO a different c. PutFormula Excel Worksheet Functions 2 February 11th 05 06:59 PM


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