Patrick020
New Member
- Joined
- Mar 20, 2018
- Messages
- 15
Hi everyone <o
></o
>
<o
> </o
>
I would like to generate a list which calculates the largestshortfalls out of a variety of projects. Shortfall is defined as Revenue minusCost. <o
></o
>
<o
> </o
>
I would like the formulas to allow you to select a specificfunction from which to assess their projects (in cell G1 below). The array thereforeneeds to dynamic and change depending on which function you choose in G1 whichis what I am struggling with. <o
></o
>
<o
> </o
>
I have put an example below: <o
></o
>
<o
> </o
>
Ideally I would like a formula to drag down in F4 and in G4.<o
></o
>
<o
> </o
>
[TABLE="class: MsoTableGrid"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 65, bgcolor: transparent"] A<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] B<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] C<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] D<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] E<o
></o
>
[/TD]
[TD="width: 72, bgcolor: transparent"] F<o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] G<o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 1<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Function<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Project<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] Cost<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Revenue <o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] Selection: <o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] Ops <o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 2<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Project 1<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 50<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 41<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] <o
> </o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] <o
> </o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 3<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Project 2<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 21<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 5<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] Deficit <o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] Project<o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 4<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Project 3<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 6<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 44<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] -14<o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] Option 2 <o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 5<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Project 4<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 66<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 19<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] -14<o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] Option 3<o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 6<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Project 5<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 36<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 25<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] -4<o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] Option 1<o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 7<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] HR <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Scheme 1<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 80<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 66<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] 9<o
></o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] Option 4 <o
></o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 8<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] HR <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Scheme 2<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 69<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 17<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] <o
> </o
>
[/TD]
[TD="width: 86, bgcolor: transparent"] <o
> </o
>
[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 9<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] HR <o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Scheme 3<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 27<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 57<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 10<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Option 1<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 77<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 73<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 11<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Option 2<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 68<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 54<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 12<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Option 3<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 19<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 5<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 13<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Option 4<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 54<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 63<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 14<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Option 5<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 39<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 72<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 15<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o
></o
>
[/TD]
[TD="width: 77, bgcolor: transparent"] Option 6<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"] 39<o
></o
>
[/TD]
[TD="width: 65, bgcolor: transparent"] 53<o
></o
>
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
<o
> </o
>
Hopefully that’s clear but let me know if not! <o
></o
>
<o
> </o
>
Thank you<o
></o
>
Patrick


<o


I would like to generate a list which calculates the largestshortfalls out of a variety of projects. Shortfall is defined as Revenue minusCost. <o


<o


I would like the formulas to allow you to select a specificfunction from which to assess their projects (in cell G1 below). The array thereforeneeds to dynamic and change depending on which function you choose in G1 whichis what I am struggling with. <o


<o


I have put an example below: <o


<o


Ideally I would like a formula to drag down in F4 and in G4.<o


<o


[TABLE="class: MsoTableGrid"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 65, bgcolor: transparent"] A<o


[/TD]
[TD="width: 77, bgcolor: transparent"] B<o


[/TD]
[TD="width: 64, bgcolor: transparent"] C<o


[/TD]
[TD="width: 65, bgcolor: transparent"] D<o


[/TD]
[TD="width: 64, bgcolor: transparent"] E<o


[/TD]
[TD="width: 72, bgcolor: transparent"] F<o


[/TD]
[TD="width: 86, bgcolor: transparent"] G<o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 1<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Function<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Project<o


[/TD]
[TD="width: 64, bgcolor: transparent"] Cost<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Revenue <o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] Selection: <o


[/TD]
[TD="width: 86, bgcolor: transparent"] Ops <o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 2<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Project 1<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 50<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 41<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] <o


[/TD]
[TD="width: 86, bgcolor: transparent"] <o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 3<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Project 2<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 21<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 5<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] Deficit <o


[/TD]
[TD="width: 86, bgcolor: transparent"] Project<o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 4<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Project 3<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 6<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 44<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] -14<o


[/TD]
[TD="width: 86, bgcolor: transparent"] Option 2 <o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 5<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Project 4<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 66<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 19<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] -14<o


[/TD]
[TD="width: 86, bgcolor: transparent"] Option 3<o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 6<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Sales <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Project 5<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 36<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 25<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] -4<o


[/TD]
[TD="width: 86, bgcolor: transparent"] Option 1<o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 7<o


[/TD]
[TD="width: 65, bgcolor: transparent"] HR <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Scheme 1<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 80<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 66<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] 9<o


[/TD]
[TD="width: 86, bgcolor: transparent"] Option 4 <o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 8<o


[/TD]
[TD="width: 65, bgcolor: transparent"] HR <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Scheme 2<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 69<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 17<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"] <o


[/TD]
[TD="width: 86, bgcolor: transparent"] <o


[/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 9<o


[/TD]
[TD="width: 65, bgcolor: transparent"] HR <o


[/TD]
[TD="width: 77, bgcolor: transparent"] Scheme 3<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 27<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 57<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 10<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Option 1<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 77<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 73<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 11<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Option 2<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 68<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 54<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 12<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Option 3<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 19<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 5<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 13<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Option 4<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 54<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 63<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 14<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Option 5<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 39<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 72<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] 15<o


[/TD]
[TD="width: 65, bgcolor: transparent"] Ops<o


[/TD]
[TD="width: 77, bgcolor: transparent"] Option 6<o


[/TD]
[TD="width: 64, bgcolor: transparent"] 39<o


[/TD]
[TD="width: 65, bgcolor: transparent"] 53<o


[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 86, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
<o


Hopefully that’s clear but let me know if not! <o


<o


Thank you<o


Patrick