Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lee
 
Posts: n/a
Default Length Calculation

I have a column of 20 cells that have IF statements in them. The if
statement is such: =(IF('A-V Input'!C5=0,0,IF(('A-V Input'!C4-'A-V
Input'!C5)/120,('A-V Input'!C4-'A-V Input'!C5)/12,(('A-V Input'!C4-'A-V
Input'!C5)/12)*-1)))+(IF('A-V Input'!D5=0,0,IF(('A-V Input'!D4-'A-V
Input'!D5)/120,('A-V Input'!D4-'A-V Input'!D5)/12,(('A-V Input'!D4-'A-V
Input'!D5)/12)*-1))) I use it to calculate distance from points in a X,Y
corridinate system from AutoCAD. What I need to know is how to check if the
cell above the last cell has a distance in it if it doesn't move to the next
cell above the previous cell to check it etc... when it encounters a cell
that has a number in it, the cell would calculate the distance back to the
origin. I could write a another IF statement but I think it would be to
long.
any help would be greatly welcomed

Lee
  #2   Report Post  
Otto Moehrbach
 
Posts: n/a
Default

Lee
Take a step back and read what you wrote. Now imagine someone walking
in off the street (he doesn't know anything about what you are doing) and
reading what you wrote. That guy is us.
Reword your post and aim it at someone who has no knowledge at all about
what you are doing or what you want. You will get plenty of help. HTH
Otto
"Lee" wrote in message
...
I have a column of 20 cells that have IF statements in them. The if
statement is such: =(IF('A-V Input'!C5=0,0,IF(('A-V Input'!C4-'A-V
Input'!C5)/120,('A-V Input'!C4-'A-V Input'!C5)/12,(('A-V Input'!C4-'A-V
Input'!C5)/12)*-1)))+(IF('A-V Input'!D5=0,0,IF(('A-V Input'!D4-'A-V
Input'!D5)/120,('A-V Input'!D4-'A-V Input'!D5)/12,(('A-V Input'!D4-'A-V
Input'!D5)/12)*-1))) I use it to calculate distance from points in a X,Y
corridinate system from AutoCAD. What I need to know is how to check if
the
cell above the last cell has a distance in it if it doesn't move to the
next
cell above the previous cell to check it etc... when it encounters a cell
that has a number in it, the cell would calculate the distance back to the
origin. I could write a another IF statement but I think it would be to
long.
any help would be greatly welcomed

Lee



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
Commission Calculation with IF Stmt. Shams Excel Worksheet Functions 2 August 10th 05 05:06 PM
Calculation Setting in Excel Stuart Bisset Excel Discussion (Misc queries) 0 June 17th 05 09:54 AM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


All times are GMT +1. The time now is 12:08 AM.

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"