Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pricey
 
Posts: n/a
Default Help a dumb arse & win a prize


Howdy,

I work for a manufacturing company and i currently receive rolling
production figures for works orders daily and I need to calculate the
daily figure
(total quantity made yesterday - total made day before = yesterdays
total parts made for yesterday)
Obviously the calculation for this is simple but we have 25 machines
and works orders can change from day to day so I need to find a way of
excel recognising the works order number and starting from zero when a
new works order number is introduced.

Can anyone help?

P.S there's no prize, I lied :)


--
pricey
------------------------------------------------------------------------
pricey's Profile: http://www.excelforum.com/member.php...o&userid=33897
View this thread: http://www.excelforum.com/showthread...hreadid=536727

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Help a dumb arse & win a prize

Assuming that the numbers are in row 1, A1, B1, C1, etc, a formula to
extract the last two numbers is

=IF(COUNT(1:1)=1,INDEX(1:1,1,1),INDEX(1:1,1,MAX(IF (1:1<"",COLUMN(1:1))))-
INDEX(1:1,1,MAX(IF(1:1<"",COLUMN(1:1)))-1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"pricey" wrote in
message ...

Howdy,

I work for a manufacturing company and i currently receive rolling
production figures for works orders daily and I need to calculate the
daily figure
(total quantity made yesterday - total made day before = yesterdays
total parts made for yesterday)
Obviously the calculation for this is simple but we have 25 machines
and works orders can change from day to day so I need to find a way of
excel recognising the works order number and starting from zero when a
new works order number is introduced.

Can anyone help?

P.S there's no prize, I lied :)


--
pricey
------------------------------------------------------------------------
pricey's Profile:

http://www.excelforum.com/member.php...o&userid=33897
View this thread: http://www.excelforum.com/showthread...hreadid=536727



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
Dumb sorting question BT Excel Discussion (Misc queries) 2 April 25th 06 05:52 PM
Dumb VBA question nobbyknownowt Excel Discussion (Misc queries) 0 April 23rd 06 08:12 AM
Very dumb question gregorsamsa Excel Discussion (Misc queries) 2 March 23rd 06 03:15 PM
No Dumb Question darkbearpooh1 Excel Worksheet Functions 1 January 25th 06 03:32 PM
what is a dumb or smart formula dede Excel Worksheet Functions 6 October 16th 05 11:57 AM


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