Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I get ending figure in proper cell?

I need to set up a statement that returns a value for the following:

If cell D1=0, get number from C4. If C4 also =0, get number from B4. If B4 =
0, get number from A4 (this will always have a value).

Here's how my info is set up:

Column: A B C D
Row value: 2 0 0 3
6 0 0 0
1 0 0 0
3 0 0 0

We enter inventory figures and i have 3 columns per month. Row 4 has an
ending figure that will carry forward to be row one of the next time we take
inventory. Usually we only do an inventory once a month so there will be 2
columns of zeros between inventory dates. How do I write a statement to keep
looking for a figure?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How do I get ending figure in proper cell?

=IF(D1=0,INDEX(A4:C4,MAX(COLUMN(A4:C4)*(A4:C40))) ,D1)

ctrl+shift+enter, not just enter


"amithere" wrote:

I need to set up a statement that returns a value for the following:

If cell D1=0, get number from C4. If C4 also =0, get number from B4. If B4 =
0, get number from A4 (this will always have a value).

Here's how my info is set up:

Column: A B C D
Row value: 2 0 0 3
6 0 0 0
1 0 0 0
3 0 0 0

We enter inventory figures and i have 3 columns per month. Row 4 has an
ending figure that will carry forward to be row one of the next time we take
inventory. Usually we only do an inventory once a month so there will be 2
columns of zeros between inventory dates. How do I write a statement to keep
looking for a figure?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I get ending figure in proper cell?

Thanks!

"Teethless mama" wrote:

=IF(D1=0,INDEX(A4:C4,MAX(COLUMN(A4:C4)*(A4:C40))) ,D1)

ctrl+shift+enter, not just enter


"amithere" wrote:

I need to set up a statement that returns a value for the following:

If cell D1=0, get number from C4. If C4 also =0, get number from B4. If B4 =
0, get number from A4 (this will always have a value).

Here's how my info is set up:

Column: A B C D
Row value: 2 0 0 3
6 0 0 0
1 0 0 0
3 0 0 0

We enter inventory figures and i have 3 columns per month. Row 4 has an
ending figure that will carry forward to be row one of the next time we take
inventory. Usually we only do an inventory once a month so there will be 2
columns of zeros between inventory dates. How do I write a statement to keep
looking for a figure?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How do I get ending figure in proper cell?

You're welcome!


"amithere" wrote:

Thanks!

"Teethless mama" wrote:

=IF(D1=0,INDEX(A4:C4,MAX(COLUMN(A4:C4)*(A4:C40))) ,D1)

ctrl+shift+enter, not just enter


"amithere" wrote:

I need to set up a statement that returns a value for the following:

If cell D1=0, get number from C4. If C4 also =0, get number from B4. If B4 =
0, get number from A4 (this will always have a value).

Here's how my info is set up:

Column: A B C D
Row value: 2 0 0 3
6 0 0 0
1 0 0 0
3 0 0 0

We enter inventory figures and i have 3 columns per month. Row 4 has an
ending figure that will carry forward to be row one of the next time we take
inventory. Usually we only do an inventory once a month so there will be 2
columns of zeros between inventory dates. How do I write a statement to keep
looking for a figure?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default How do I get ending figure in proper cell?

=IF(D1<0,D1,IF(C4<0,C4,IF(B4<0,B4,A4)))

Vaya con Dios,
Chuck, CABGx3


"amithere" wrote:

I need to set up a statement that returns a value for the following:

If cell D1=0, get number from C4. If C4 also =0, get number from B4. If B4 =
0, get number from A4 (this will always have a value).

Here's how my info is set up:

Column: A B C D
Row value: 2 0 0 3
6 0 0 0
1 0 0 0
3 0 0 0

We enter inventory figures and i have 3 columns per month. Row 4 has an
ending figure that will carry forward to be row one of the next time we take
inventory. Usually we only do an inventory once a month so there will be 2
columns of zeros between inventory dates. How do I write a statement to keep
looking for a figure?

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
how do i return to normal text from =PROPER(cell) showsomeidnow Excel Discussion (Misc queries) 3 April 30th 07 11:50 AM
Ending a macro early conditionally on one cell being blank Rokuro kubi Excel Discussion (Misc queries) 3 May 26th 06 02:09 PM
Formula Showing In A Cell Instead of Proper Result DanK New Users to Excel 2 March 4th 06 06:46 AM
cell * figure suegr Excel Discussion (Misc queries) 9 December 25th 05 07:14 PM
I cant seem to figure out how to use Proper in excel. The help op. deborahpib Excel Discussion (Misc queries) 1 December 14th 04 06:54 PM


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