i have got myself utterly lost!

mistersteve

Board Regular
Joined
Aug 18, 2014
Messages
110
Office Version
  1. 365
I ma hoping anyone can help me.
I have a list of columns as below, and I call it my results Page

End Cust A/CMaterialQty.List/Spec. Nett PriceUOMDisc. GroupList/Spec. * Qty.Cust. Disc.E/C Nett PriceMargin
8901340011796000025 31.171000011A7.79355.0714
<colgroup><col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;" span="2"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;"> <col width="12" style="width: 9pt; mso-width-source: userset; mso-width-alt: 438;"> <col width="70" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2560;"> <col width="42" style="width: 32pt; mso-width-source: userset; mso-width-alt: 1536;"> <col width="66" style="width: 50pt; mso-width-source: userset; mso-width-alt: 2413;"> <col width="67" style="width: 50pt; mso-width-source: userset; mso-width-alt: 2450;"> <col width="48" style="width: 36pt; mso-width-source: userset; mso-width-alt: 1755;"> <col width="64" style="width: 48pt; mso-width-source: userset; mso-width-alt: 2340;"> <col width="47" style="width: 35pt; mso-width-source: userset; mso-width-alt: 1718;"> <tbody> </tbody>

The List/Spec column check to see if the customer has any special prices and inputs them, if not it enters the std. list price.
=IFERROR(IF($D8<=0,"",IF(ISNUMBER(VLOOKUP($C8,INDIRECT($C$3),5,0)),VLOOKUP($C8,INDIRECT($C$3),5,0),VLOOKUP($C8,Prices,5,0))),0)
This also applies to the UOM and Disc. Group columns.

The Cust. Disc. is derived from below

Group 1Margin 1Group 2Margin 2Group 3Margin 3
0011A100011E100055A10
0011A7.50011E7.50055A7.5
0011E14
0011A100011E100055A10
<colgroup><col width="54" style="width: 41pt; mso-width-source: userset; mso-width-alt: 1974;" span="5"> <col width="62" style="width: 47pt; mso-width-source: userset; mso-width-alt: 2267;"> <tbody> </tbody>
Matching the Group it display the discount adjacent.
=IFERROR(IF($D8<=0,"",OFFSET(INDEX(Cost_Disc._Groups,MATCH($B8,Accounts,0),MATCH($H8,'ACC, Group Disc, and Specials'!$P$4:$AA$4,0)),0,1)),0)
However, if, as I said earlier there is a spec. price the Disc. group remains blank.

Problem I have is that I still require the profit column to be added.


This is one of my special prices list, there are a few.
A/C
8901340
<colgroup><col width="144" style="width: 108pt; mso-width-source: userset; mso-width-alt: 5266;"> <tbody> </tbody>
MaterialDescriptionBlankBlankCust. SpecialPerSupportPerMargin
1061200000WEW 35/2Blank 26.0010022.3610014
0383560000EW 35 33.0010028.3810014
<colgroup><col width="110" style="width: 83pt; mso-width-source: userset; mso-width-alt: 4022;"> <col width="144" style="width: 108pt; mso-width-source: userset; mso-width-alt: 5266;"> <col width="64" style="width: 48pt;"> <col width="54" style="width: 41pt; mso-width-source: userset; mso-width-alt: 1974;" span="6"> <tbody> </tbody>

I need to extract from the Margin column and insert into my results page after determining the A/c and material is special price

I hope I haven't complicated thing and hope someone can help.

Thank you in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,959
Latest member
camelliaCase

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