Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I am looking for various formulas for a stock control spredsheet.
a1 a2 a3 a4 ref cell Date Stock In/Out Balance 100(start stock) 1/1/06 -20 need this cell to relate to 80 2/1/6 +20 need this cell to relate to 100 etc no entry to appear until figure is input into column a2 In cell A6 I need a formula to report last entry if stock is less than 50 to say Order Stock and in RED if stock is greater than 50 say Stock OK and in Black. Help on this would be very much appreciated. Regards, Santaviga |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you meant:
A B C D 1 Date In/Out Balance 100 (start stock) 2 1/6 -20 80 OK 3 1/6 +20 100 OK 4 1/7 -55 45 ORDER (in red) 5 IN C2, enter this formula =IF(B2<0,B2+D1,"") In D2, enter this formula =IF(C2<"",IF(C250,"OK","ORDER"),"") In C3, enter this formula =IF(B3<0,B3+C2,"") and in D3, enter this formula =IF(C3<"",IF(C350,"OK","ORDER"),"") You may now fill the formulas down the sheet as far as needed. To get the black "OK" and red "ORDER" entries, use Format | Conditional Format on the cells in column D. Choose Value is Equal To and type in ORDER and choose the format for the font then. "santaviga" wrote: Hi, I am looking for various formulas for a stock control spredsheet. a1 a2 a3 a4 ref cell Date Stock In/Out Balance 100(start stock) 1/1/06 -20 need this cell to relate to 80 2/1/6 +20 need this cell to relate to 100 etc no entry to appear until figure is input into column a2 In cell A6 I need a formula to report last entry if stock is less than 50 to say Order Stock and in RED if stock is greater than 50 say Stock OK and in Black. Help on this would be very much appreciated. Regards, Santaviga |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thats absolutely great. thanks a lot.
Santaviga "JLatham" wrote: I think you meant: A B C D 1 Date In/Out Balance 100 (start stock) 2 1/6 -20 80 OK 3 1/6 +20 100 OK 4 1/7 -55 45 ORDER (in red) 5 IN C2, enter this formula =IF(B2<0,B2+D1,"") In D2, enter this formula =IF(C2<"",IF(C250,"OK","ORDER"),"") In C3, enter this formula =IF(B3<0,B3+C2,"") and in D3, enter this formula =IF(C3<"",IF(C350,"OK","ORDER"),"") You may now fill the formulas down the sheet as far as needed. To get the black "OK" and red "ORDER" entries, use Format | Conditional Format on the cells in column D. Choose Value is Equal To and type in ORDER and choose the format for the font then. "santaviga" wrote: Hi, I am looking for various formulas for a stock control spredsheet. a1 a2 a3 a4 ref cell Date Stock In/Out Balance 100(start stock) 1/1/06 -20 need this cell to relate to 80 2/1/6 +20 need this cell to relate to 100 etc no entry to appear until figure is input into column a2 In cell A6 I need a formula to report last entry if stock is less than 50 to say Order Stock and in RED if stock is greater than 50 say Stock OK and in Black. Help on this would be very much appreciated. Regards, Santaviga |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How many days the ready stock+expected stock will last as allocate | Excel Discussion (Misc queries) | |||
Web Query With Multiple Stock Symbols & Stock Scouter | Excel Worksheet Functions | |||
How can I use Dutch (NL) stock MSN MoneyCentral Stock in Excel | Excel Worksheet Functions | |||
Office 2003 Stock Action Add-In - Stock Handling Capacity/Numbers | Excel Worksheet Functions | |||
stock control | Excel Programming |