Combining IF and INDEX functions...I think

ajstole

New Member
Joined
Apr 3, 2018
Messages
8
Unable to post attachments but numbers on bottom..

1. I have two sets up numbers

2. As one goes up, the other comes down, and vice versa
3. If they are all pickups, I need to "mark red" if they go over the max amount (68,000)
4. If they are all deliveries, I need to "mark red" if they go over the max amount (102,000)

.....So far, so good - here is the mystery to me.....

When I combine the two weights, how can I get it to "marks red" if for example...
a. Pickups = 44,000 and deliveries = 36,000 OR
b. Pickups = 16,000 and deliveries = 78,000


PickupDeliveryTOTAL
68,000068,000
64,0006,00070,000
60,00012,00072,000
56,00018,00074,000
52,00024,00076,000
48,00030,00078,000
44,00036,00080,000
40,00042,00082,000
36,00048,00084,000
32,00054,00086,000
28,00060,00088,000
24,00066,00090,000
20,00072,00092,000
16,00078,00094,000
12,00084,00096,000
8,00090,00098,000
4,00096,000100,000
0102,000102,000

<colgroup><col width="67" span="3" style="width:50pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Its not possible to answer your question. You have provided the rules for single events but havent provided any rules for the combinations.
 
Upvote 0
Apologies, the rules really are rounding up to the next number. For example, if I say pickup is at 5000, then round up up to the nearest 4,000 which is 8,000. At the same time, same rules, if I have a delivery set at 98,000, that rounds up to 102,000 (every 6,000), then the total would then be 110,000 ...... however, now, the total combined is over the max.

As pickups go down or up, the deliveries go in the opposite direction. Currently, there is no way to tell me if the combination of the two is over the total on the right.
 
Upvote 0
Ok so you have this table. What are you wanting to check? Do you have a couple of cells with values in them?
 
Upvote 0
I'm not sure at this point how else to explain it. All the cells with values in them was posted. If I have 12,000 in pickups, I need excel to keep track that I have up to 84,000 that I can use on deliveries. If I have 12,000 pickups and I input 85,000, I need excel to let me know that I have exceeded my max. The same story goes with the rest of the cells.
 
Upvote 0

Forum statistics

Threads
1,214,377
Messages
6,119,183
Members
448,872
Latest member
lcaw

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