Lookup values based on which days are selected

arwhee

New Member
Joined
Jul 28, 2016
Messages
4
This is hard to explain but I have set numbers, that need to be changed based on the days of the week that are selected.

This would be the given part of my sheet.

Example 1

Col A B C D E F J
Row 1 Sun Mon Tues Wed Thurs Fri Sat
Row 2 X X X
Row 3 4.5 3.5 3.75
Row 4
Col E
Row 5 Day 1 adjustment 1.0
Row 6 Day 2 adjustment 1.0
Row 7 Day 3 adjustment .5
Row 8 Day 4 adjustment 0
Row 9 Day 5 adjustment 0

I need to change the first 2 selected days by 1.0 and the 3rd by .5. I need a formula that will adjust any day selected. There could be up to 7 days selected with up to 5 different numbers that need to be adjusted. Row 4 would contain the new values.


Example 2

Col A B C D E F J
Row 1 Sun Mon Tues Wed Thurs Fri Sat
Row 2 X X X X
Row 3 2.5 2.5 3.75 3.25
Row 4
Col E
Row 5 Day 1 adjustment 1.25
Row 6 Day 2 adjustment 1.25
Row 7 Day 3 adjustment 1.25
Row 8 Day 4 adjustment 2.00
Row 9 Day 5 adjustment 0
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I hope this is posted with better formatting.
This is hard to explain but I have set numbers, that need to be changed based on the days of the week that are selected.

This would be the given part of my sheet.

Example 1

Col A B C D E F G
Row 1 Sun Mon Tues Wed Thurs Fri Sat
Row 2 X X X
Row 3 4.5 3.5 3.75
Row 4
Col E
Row 5 Day 1 adjustment 1.0
Row 6 Day 2 adjustment 1.0
Row 7 Day 3 adjustment .5
Row 8 Day 4 adjustment 0
Row 9 Day 5 adjustment 0

I need to change the first 2 selected days by 1.0 and the 3rd by .5. I need a formula that will adjust any day selected. There could be up to 7 days selected with up to 5 different numbers that need to be adjusted. Row 4 would contain the new values.


Example 2

Col A B C D E F G
Row 1 Sun Mon Tues Wed Thurs Fri Sat
Row 2 X X X X
Row 3 2.5 2.5 3.75 3.25
Row 4
Col E
Row 5 Day 1 adjustment 1.25
Row 6 Day 2 adjustment 1.25
Row 7 Day 3 adjustment 1.25
Row 8 Day 4 adjustment 2.00
Row 9 Day 5 adjustment 0
 
Upvote 0
Example 1 - Mon, Wed, Fri are selected, they have a value of 4.5, 3.5, and 3.75 but need adjusted by 1.0, 1.0, and .5 with the new value in Row 4.
Example 2 - Sun, Tues, Thurs, Sat are selected and have values of 2.5, 2.5, 3.75, and 3.25 and need adjusted by 1.25, 1.25, 1.25, and 2.00 with the new value in Row 4.
 
Upvote 0

Forum statistics

Threads
1,216,027
Messages
6,128,381
Members
449,445
Latest member
JJFabEngineering

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