U
union865kri
My scenario: I will have 18 columns and 80 rows of data. Not all cell
will have data in them. I will change this data weekly, one row eac
week, to come up with the 18 weeks. I need to look at the last
numbers no matter where they will be in the row, but I need to start o
the left most column (A1). I also need to not use the highest an
lowest number of these 5. It might contain more then the same low o
high number, but I need to not use only one of them. IE: if these
numbers are 38 42 45 38 45, then not use one of the 45's and only on
of the 38's, but use the others for my calculation. After finding th
middle 3 numbers of these 5, then sum them, divide by 3, then subtrac
36, and then multiply by .9.
I've attached a small example spreadsheet to illustrate what I a
trying to relate to all of you.
Now my question. Would it be better to use VBA code to execute this
or will a comlicated formula work??? AND, if so, can someone give m
the formula or coding to make this work. I realise I'm asking alot, bu
if someone does this for me, I'll be eternally grateful. And if not
then that is okay also. Thanks again
Attachment filename: book1.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=49572
will have data in them. I will change this data weekly, one row eac
week, to come up with the 18 weeks. I need to look at the last
numbers no matter where they will be in the row, but I need to start o
the left most column (A1). I also need to not use the highest an
lowest number of these 5. It might contain more then the same low o
high number, but I need to not use only one of them. IE: if these
numbers are 38 42 45 38 45, then not use one of the 45's and only on
of the 38's, but use the others for my calculation. After finding th
middle 3 numbers of these 5, then sum them, divide by 3, then subtrac
36, and then multiply by .9.
I've attached a small example spreadsheet to illustrate what I a
trying to relate to all of you.
Now my question. Would it be better to use VBA code to execute this
or will a comlicated formula work??? AND, if so, can someone give m
the formula or coding to make this work. I realise I'm asking alot, bu
if someone does this for me, I'll be eternally grateful. And if not
then that is okay also. Thanks again
Attachment filename: book1.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=49572