sort by function

asa man

New Member
Joined
Dec 18, 2014
Messages
1
Hi
I have below table
ATPTFT
512
86
102
124
133
224

<tbody>
</tbody>

I want to find smallest PT that AT belonged PT <= FT ,
then founded PT + FT(old)=FT(new)
and founded PT ignore in next row calculation,
and repeat trend in every row whit excel function.
for example
FT=12
AT<=12:{8,10,12}
PT: {6,2,4}
FT(new)=2+12=14


FT=14
AT:{8,12,13}
PT:{6,4,3}
FT(new)=3+14=17

ATPTFT
512
8614
10217
124
133
224

<tbody>
</tbody>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top