Badly Need Help on Excel Formula

blackorchids2002

Board Regular
Joined
Dec 29, 2011
Messages
138
Hi Masters, just to make it understandable please see below.

AWB #
7082013260 has 3 records. Each 3 records for the same way bill number has different actual weight and dimensional weights. To get the billable weight, I used the formula MAX to get the maximum weight between actual weight and dimensional weight.

In the example, you will see the billable weight for each record but I want the billable weight to be shown as one input.
AWB#ACTUAL WEIGHTDIMENSIONAL WEIGHTBILLABLE WEIGHT
7082013260875800875
7082013260781800800
7082013260850800850

<tbody>
</tbody>



The output would be as per below. Kindly note that the records are not sorted out so it may be placed into different lines/rows in the excel sheet.

AWB #ACTUAL WEIGHTDIMENSIONAL WEIGHTBILLABLE WEIGHT
70820132608758002,525
7082013260781800
7082013260850800

<tbody>
</tbody>




Thanks :)


<tbody>
</tbody>

 
Thanks Dave. i works :)..

I just need to understand the formula. Why do you need to put a double minus sign?

=SUMPRODUCT(--(A4:A10=F3),--(B4:B10 >= C4:C10),(B4:B10))+
SUMPRODUCT(--(A4:A10=F3),--(B4:B10 < C4:C10),(C4:C10))

The double minus coerces the True or False to 1 or 0 that SumProduct can use.

I am not sure what you are asking in your other question. Was your question answered in the other thread?

Dave
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,215,014
Messages
6,122,697
Members
449,092
Latest member
snoom82

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