Good day
I want to obtain the lowest price for certain products from different suppliers. And then decide which company has the overall lowest prices. The data is not in a range, but in various columns in one row.
In this mini sheet it is the highlighted columns.
Column AG and AH refers.
In AG I want to have the minimum price but without giving me zero as a minimum, while in AH I would like to get the company name as return (Z1, S1, L1).
This I accomplished by using MIN-function (but it returns zero too) and then using MATCH to get the company names.
But how do I eliminate the zero as a return...?
First time poster. English second language.
Thank you
Marelize
I want to obtain the lowest price for certain products from different suppliers. And then decide which company has the overall lowest prices. The data is not in a range, but in various columns in one row.
In this mini sheet it is the highlighted columns.
Column AG and AH refers.
In AG I want to have the minimum price but without giving me zero as a minimum, while in AH I would like to get the company name as return (Z1, S1, L1).
This I accomplished by using MIN-function (but it returns zero too) and then using MATCH to get the company names.
But how do I eliminate the zero as a return...?
First time poster. English second language.
Thank you
Marelize
Soymaster chemies.xlsx | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | |||
2 | Prys per verpakking (kan / boks) | Aankoopkoste vir seisoen | Rand per eenheid | Rand per hektaar | Gebruikte koste per seisoen | Prys per verpakking | Aankoopkoste vir seisoen | Rand per eenheid | per | Rand per hektaar | Gebruikte koste per seisoen | Prys per verpakking | Aankoopkoste vir seisoen | Rand per eenheid | per | Rand per hektaar | Gebruikte koste per seisoen | Lowest Price / Laagste Prys | lowest price company's name | ||||||
3 | R1,590.00 | R6,360.00 | R79.50 | / | lt | R11.93 | R5,962.50 | R2,100.00 | R8,400.00 | R105.00 | / | lt | R15.75 | R7,875.00 | R800.00 | R3,200.00 | R40.00 | / | lt | R6.00 | R3,000.00 | R3,200.00 | Farm-Agri | ||
4 | R2,342.86 | R4,685.72 | R117.14 | / | lt | R9.37 | R4,685.72 | R2,500.00 | R5,000.00 | R125.00 | / | lt | R10.00 | R5,000.00 | R7,500.00 | R15,000.00 | R375.00 | / | lt | R30.00 | R15,000.00 | R4,685.72 | Oos-Vaal | ||
5 | R3,720.00 | R14,880.00 | R372.00 | / | lt | R48.36 | R12,090.00 | R2,950.00 | R11,800.00 | R295.00 | / | lt | R38.35 | R9,587.50 | / | lt | Farm-Agri | ||||||||
6 | R1,300.00 | R5,200.00 | R65.00 | / | kg | R16.25 | R4,062.50 | R1,150.00 | R4,600.00 | R57.50 | / | kg | R14.38 | R3,593.75 | / | kg | |||||||||
7 | R1,800.00 | R10,800.00 | R360.00 | / | lt | R39.60 | R9,900.00 | R1,200.00 | R7,200.00 | R240.00 | / | lt | R26.40 | R6,600.00 | R1,950.00 | R11,700.00 | R390.00 | / | lt | R42.90 | R10,725.00 | R7,200.00 | Farmer's Agri-Care | ||
Oos-Vaal |
Cell Formulas | ||
---|---|---|
Range | Formula | |
M3:M7 | M3 | =IFERROR(K3*L3,0) |
N3:N7 | N3 | =IFERROR(L3/D3,0) |
P3:P7 | P3 | =E3 |
Q3:Q7 | Q3 | =IFERROR(F3/1000*N3,0) |
R3:R7 | R3 | =IFERROR(Q3*I3*H3,0) |
T3:T7 | T3 | =S3*K3 |
U3:U7 | U3 | =IFERROR(S3/D3,0) |
X3:X7 | X3 | =F3/1000*U3 |
Y3:Y7 | Y3 | =X3*I3*H3 |
AA3:AA7 | AA3 | =Z3*K3 |
AB3:AB7 | AB3 | =IFERROR(Z3/D3,0) |
AE3:AE7 | AE3 | =F3/1000*AB3 |
AF3:AF7 | AF3 | =AE3*H3*I3 |
AG6:AG7,AG3:AG4 | AG3 | =IF(MIN(AA3,T3,M3)=0,"",(MIN(AA3,T3,M3))) |
AH3 | AH3 | =IF(MATCH(AG3,L3:AF3,0)=16,$Z$1,IF(MATCH(AG3,L3:AF3,0)=9,$S$1,IF(MATCH(AG3,L3:AF3,0)=2,$L$1))) |
AH4:AH7 | AH4 | =IFERROR(IF(MATCH(AG4,L4:AF4,0)=16,$Z$1,IF(MATCH(AG4,L4:AF4,0)=9,$S$1,IF(MATCH(AG4,L4:AF4,0)=2,$L$1))),0) |