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

I have two Sheets (sheet1,sheet2), Sheet 1 has corridinate data imported from
Autocad. On Sheet 2, cells B57 through B76 have IF statements in them for
calculating data from Sheet 1.

What I want to do is check if cell B76 equals 0. If the cell equals 0 then
go to cell b75 and check if it equals 0 and so on. When it gets to the first
cell that is greater than 0 do a calculation that would return a value to
cell B77, and stop checking.

Is this possible without using VBA programming ?

Thanks for your input


  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Lee,

In cell B77, use the array formula:

=INDEX(B57:B76,MAX((B57:B760)*ROW(B57:B76))-ROW($B$57)+1)

Entered with Ctrl-Shift-Enter.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
I have two Sheets (sheet1,sheet2), Sheet 1 has corridinate data imported from
Autocad. On Sheet 2, cells B57 through B76 have IF statements in them for
calculating data from Sheet 1.

What I want to do is check if cell B76 equals 0. If the cell equals 0 then
go to cell b75 and check if it equals 0 and so on. When it gets to the first
cell that is greater than 0 do a calculation that would return a value to
cell B77, and stop checking.

Is this possible without using VBA programming ?

Thanks for your input




  #3   Report Post  
Lee
 
Posts: n/a
Default

what do you mean by "Entered with Ctrl-Shift-Enter."


"Bernie Deitrick" wrote:

Lee,

In cell B77, use the array formula:

=INDEX(B57:B76,MAX((B57:B760)*ROW(B57:B76))-ROW($B$57)+1)

Entered with Ctrl-Shift-Enter.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
I have two Sheets (sheet1,sheet2), Sheet 1 has corridinate data imported from
Autocad. On Sheet 2, cells B57 through B76 have IF statements in them for
calculating data from Sheet 1.

What I want to do is check if cell B76 equals 0. If the cell equals 0 then
go to cell b75 and check if it equals 0 and so on. When it gets to the first
cell that is greater than 0 do a calculation that would return a value to
cell B77, and stop checking.

Is this possible without using VBA programming ?

Thanks for your input





  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Lee wrote:

what do you mean by "Entered with Ctrl-Shift-Enter."

"Bernie Deitrick" wrote:

Lee,

In cell B77, use the array formula:

=INDEX(B57:B76,MAX((B57:B760)*ROW(B57:B76))-ROW($B$57)+1)

Entered with Ctrl-Shift-Enter.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
I have two Sheets (sheet1,sheet2), Sheet 1 has corridinate data imported from
Autocad. On Sheet 2, cells B57 through B76 have IF statements in them for
calculating data from Sheet 1.

What I want to do is check if cell B76 equals 0. If the cell equals 0 then
go to cell b75 and check if it equals 0 and so on. When it gets to the first
cell that is greater than 0 do a calculation that would return a value to
cell B77, and stop checking.

Is this possible without using VBA programming ?

Thanks for your input






--

Dave Peterson
  #5   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Lee,

Instead of typing in the formula and pressing enter, type in the formula, hold down both the ctrl
and shift buttons, and while they are help down, press enter. Just like Ctrl-Alt-Delete.... That
tells Exel to process the formula differently.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
what do you mean by "Entered with Ctrl-Shift-Enter."


"Bernie Deitrick" wrote:

Lee,

In cell B77, use the array formula:

=INDEX(B57:B76,MAX((B57:B760)*ROW(B57:B76))-ROW($B$57)+1)

Entered with Ctrl-Shift-Enter.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
I have two Sheets (sheet1,sheet2), Sheet 1 has corridinate data imported from
Autocad. On Sheet 2, cells B57 through B76 have IF statements in them for
calculating data from Sheet 1.

What I want to do is check if cell B76 equals 0. If the cell equals 0 then
go to cell b75 and check if it equals 0 and so on. When it gets to the first
cell that is greater than 0 do a calculation that would return a value to
cell B77, and stop checking.

Is this possible without using VBA programming ?

Thanks for your input









  #6   Report Post  
Lee
 
Posts: n/a
Default

Thanks alot you guys,

Learn something new every day

"Bernie Deitrick" wrote:

Lee,

Instead of typing in the formula and pressing enter, type in the formula, hold down both the ctrl
and shift buttons, and while they are help down, press enter. Just like Ctrl-Alt-Delete.... That
tells Exel to process the formula differently.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
what do you mean by "Entered with Ctrl-Shift-Enter."


"Bernie Deitrick" wrote:

Lee,

In cell B77, use the array formula:

=INDEX(B57:B76,MAX((B57:B760)*ROW(B57:B76))-ROW($B$57)+1)

Entered with Ctrl-Shift-Enter.

HTH,
Bernie
MS Excel MVP


"Lee" wrote in message
...
I have two Sheets (sheet1,sheet2), Sheet 1 has corridinate data imported from
Autocad. On Sheet 2, cells B57 through B76 have IF statements in them for
calculating data from Sheet 1.

What I want to do is check if cell B76 equals 0. If the cell equals 0 then
go to cell b75 and check if it equals 0 and so on. When it gets to the first
cell that is greater than 0 do a calculation that would return a value to
cell B77, and stop checking.

Is this possible without using VBA programming ?

Thanks for your input








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
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Cell Change Color - Need Help alani New Users to Excel 3 June 29th 05 03:50 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


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