LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Excel Dummy
 
Posts: n/a
Default How do I skip over null cells?

Ok, I have a spreadsheet with this code in H10

=IF(H6="---",-20,IF(G6H6,(G6-H6)*5,IF(G6<H6,(H6-G6)*10/-1,0)))

In cell
D6=150
E6="---"
F6="---"
G6="---"
H6=145

What I want is for the formula to skip over the cells that have the "---" in
them and then do the equation with the last number entered, in this case in
cell D6 and H6.

Is this possible? Any help would be appreciated. Thanks!

Michelle
 
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
I want to copy a formula n Excel but skip any blank cells Ann Excel Worksheet Functions 1 December 12th 05 06:55 PM
How to skip cells with text strings. mikeburg Excel Discussion (Misc queries) 1 August 6th 05 12:52 AM
How do I skip blank cells when copying over a range of cells? tawells Excel Discussion (Misc queries) 2 June 7th 05 09:36 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
Skipping Blank Or Null Cells In a Lookup Function Bill Johnson Excel Worksheet Functions 8 December 24th 04 01:06 AM


All times are GMT +1. The time now is 10:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"