Multiple IF formulas based on another cell

Reggie Mcqueen

New Member
Joined
May 20, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a bunch of data for a delivery service, depending on the area the runs go out 3 or 4 times a day all at different times, I've done individual IF formulas based on there scheduled arrival times, but this data will change every week so i need to some how auto populate a different formula in each cell based on the delivery times they are due to go out, its for a delivery service that covers the whole country, so as you can imagine its a rather large file. is there a way I can set up a formula that if one cell = another cell then use a specific formula, but if another cell is for another area, use another formula?

I'm not sure that even makes sense.... any help would be appreciated :)
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Try to create a sample sheet, input sample data, then guide us to walk through. :)
 
Upvote 0
Try to create a sample sheet, input sample data, then guide us to walk through. :)
1653034918133.png


So I need this to automatically put the correct formula in the "Uniref" box based on its "delivery area", this is so it splits the runs into run 1,2,3 etc and then gives a true reading as to whether the delivery was Hit or Missed.
 
Upvote 0
Book1
ABCDE
1Schedule time
2Lowestoff1996PE30Uni110:1510:30
3Lowestoff1996PE30Uni212:1513:00
4Lowestoff1996PE30Uni314:1517:00
5Norwichz55t9w34sfu 110:30
6Norwichz55t9w34sfu 211:30
7Norwichz55t9w34sfu 314:00
8Norwichz55t9w34sfu 417:00
9
10
11
12
13
14Actual Arrival time
15Lowestoff1996PE30Uni1996PE30Uni110:17
16Lowestoff1996PE30Uni1996PE30Uni212:59
17Lowestoff1996PE30Uni1996PE30Uni314:04
18Norwichz55t9w34sfuz55t9w34sfu 414:59
Sheet2
Cell Formulas
RangeFormula
C15:C18C15=INDEX($B$2:$B$8,MATCH(1,INDEX(($A$2:$A$8=A15)*(D$2:$D$8>=E15),),0))
 
Upvote 0
Solution
Book1
ABCDE
1Schedule time
2Lowestoff1996PE30Uni110:1510:30
3Lowestoff1996PE30Uni212:1513:00
4Lowestoff1996PE30Uni314:1517:00
5Norwichz55t9w34sfu 110:30
6Norwichz55t9w34sfu 211:30
7Norwichz55t9w34sfu 314:00
8Norwichz55t9w34sfu 417:00
9
10
11
12
13
14Actual Arrival time
15Lowestoff1996PE30Uni1996PE30Uni110:17
16Lowestoff1996PE30Uni1996PE30Uni212:59
17Lowestoff1996PE30Uni1996PE30Uni314:04
18Norwichz55t9w34sfuz55t9w34sfu 414:59
Sheet2
Cell Formulas
RangeFormula
C15:C18C15=INDEX($B$2:$B$8,MATCH(1,INDEX(($A$2:$A$8=A15)*(D$2:$D$8>=E15),),0))
Fantastic, thank you!
 
Upvote 0
Book1
ABCDE
1Schedule time
2Lowestoff1996PE30Uni110:1510:30
3Lowestoff1996PE30Uni212:1513:00
4Lowestoff1996PE30Uni314:1517:00
5Norwichz55t9w34sfu 110:30
6Norwichz55t9w34sfu 211:30
7Norwichz55t9w34sfu 314:00
8Norwichz55t9w34sfu 417:00
9
10
11
12
13
14Actual Arrival time
15Lowestoff1996PE30Uni1996PE30Uni110:17
16Lowestoff1996PE30Uni1996PE30Uni212:59
17Lowestoff1996PE30Uni1996PE30Uni314:04
18Norwichz55t9w34sfuz55t9w34sfu 414:59
Sheet2
Cell Formulas
RangeFormula
C15:C18C15=INDEX($B$2:$B$8,MATCH(1,INDEX(($A$2:$A$8=A15)*(D$2:$D$8>=E15),),0))
Morning,

I don't suppose you know what would be the easiest way to now split that into days?

one of the runs goes out at different times on a Friday so I need to do it based on the day aswel o_O
 
Upvote 0

Forum statistics

Threads
1,215,635
Messages
6,125,940
Members
449,275
Latest member
jacob_mcbride

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