LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Not sure how to write the formula

Put this in P2:

=IF(SUM(C2:O2)=0,"delete","")

and copy this down. Then you can apply autofilter to column P and
select the word "delete" from the filter pull-down. Highlight all the
visible rows, then click on Edit | Delete Row. Then select "All" from
the filter pull-down to see what remains.

Hope this helps.

Pete

On Mar 14, 9:10*pm, Caligirl
wrote:
how do I write such a formula?



"Pete_UK" wrote:
You can't actually delete a row using a formula, so you would either
have to do it manually (with a formula indicating to you the row(s)
which need deleting), or with a macro.


Hope this helps.


Pete


On Mar 14, 6:56 pm, Caligirl
wrote:
Okay, I got it. *I just had to add this to your formula (f2-j2)/i2. *That
made it work. *Thank you so very much. *Now I can move on to the next
dilemna. *


Here's one for you: *If cells c thru o are equal to zero then delete the
row? *How in the world would I write that?


"Caligirl" wrote:
I am fairly new to writing formulas. *The formula I always use is F2-J2/I2. *
Pretty simple, except when I2 has no data or is zero then I get the #DIV.. *
How do I either keep the #DIV from showing or write the formula in such a way
that it basically says: *If I2 is less than, equal to or has no data then
leave blank, if not process the above formula.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


 
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
Write formula to look for 'like' value Suzanne Excel Discussion (Misc queries) 2 May 21st 07 03:38 PM
How do I write this formula billy boy Excel Discussion (Misc queries) 3 March 29th 07 07:38 PM
What is the best way to Write this Formula zmr325 Excel Discussion (Misc queries) 1 November 29th 05 10:43 AM
how to write a formula grammy2 New Users to Excel 2 August 30th 05 02:06 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM


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