Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default testing cell value

requirement ... test each cell for negative value. if true, b1=value of
previous cell
sample:
A B
1 10 5
2 5
3 -1

thank you.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.534 / Virus Database: 329 - Release Date: 10/31/2003


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default testing cell value

I'm probably not alone by being a little confused !
Do you want a VBA or a formula solution - could be done with either?
"Test each cell for negative value" - the cells in column A I presume. Correct?
"if true, b1=value of previous cell" - I presume because A3 is negative, and 5 is the number above it, B1 now=5. Correct?
What if there is more than one negative value in column A - or no negative value?
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
testing for a value in a cell Dave Eade Excel Discussion (Misc queries) 1 February 11th 10 11:54 AM
Testing cell value for greater than 0 Raj[_2_] Excel Worksheet Functions 1 November 23rd 09 01:52 AM
Testing a cell value Finance Guru Excel Worksheet Functions 2 January 19th 09 12:44 PM
Testing positions in a cell MarcusA Excel Discussion (Misc queries) 2 November 4th 05 02:25 AM
testing the value of a cell Zeraia Excel Programming 3 October 22nd 03 12:58 AM


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