Home

Is it possible to enter a value from column A if there is a value in column C into a different sheet

%3CLINGO-SUB%20id%3D%22lingo-sub-450404%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20sheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-450404%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20make%20a%20work%20schedule.%20I%20have%20a%20spreadsheet%20with%20all%20shifts%20and%20a%20calendar%20style.%20I'm%20trying%20to%20find%20a%20formula%20to%20enter%20values%20into%20the%20calendar.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20346px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108641i29E4B440A86A33A3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20495px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108640iE361A482801762E6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture1.PNG%22%20title%3D%22Capture1.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThis%20is%20what%20it%20should%20look%20like%2C%20I've%20manually%20entered%20values%20into%20the%20calendar%20spreadsheet.%20For%20instance%2C%20when%20I%20enter%20an%208%20into%20C3%20on%20the%20top%20spreadsheet%2C%20I%20want%20KL%20to%20be%20automatically%20inserted%20into%20B5%20on%20the%20lower%20spreadsheet.%20Is%20there%20a%20formula%20that%20I%20could%20enter%20to%20accomplish%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-450404%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-450991%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-450991%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F320716%22%20target%3D%22_blank%22%3E%40chescott80%3C%2FA%3E%20%2C%20what%20is%20the%20formal%20logic%20behind%2C%20why%20in%20B5%20and%20not%20in%20C5%20or%20B6%3F%20Same%20for%20others.%20And%20layout%20for%20Monday%20is%20fully%20different%20from%20one%20for%20Sunday.%2C%20what%20is%20the%20logic%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451030%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451030%22%20slang%3D%22en-US%22%3EThis%20is%20just%20how%20our%20shifts%20are%2C%20weekend%20vs%20weekday.%20I%20will%20enter%20a%20formula%20for%20each%20cell%20on%20the%20calendar.%20I%20can't%20change%20the%20setup%20for%20the%20calendar%2C%20this%20is%20what%20employees%20are%20used%20to%20looking%20at...the%20spreadsheet%20has%20the%20actual%20shifts%20to%20schedule.%20I%20want%20to%20cut%20down%20on%20errors%20of%20manually%20transferring%20data%20from%20the%20spreadsheet%20to%20the%20calendar.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451032%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451032%22%20slang%3D%22en-US%22%3EIn%20column%20C%2C%20the%208%20(for%208%20hr%20shift)%20could%20be%20anywhere%20down%20the%20column%2C%20not%20necessarily%20in%20the%20KL%20row...where%20ever%20the%208%20is%20the%20corresponding%20initials%20need%20to%20go%20into%20B5%20on%20the%20calendar%20spreadsheet.%20In%20column%20D%2C%20the%20corresponding%20initials%20would%20be%20entered%20into%20C5%20on%20the%20calendar.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451074%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451074%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F320716%22%20target%3D%22_blank%22%3E%40chescott80%3C%2FA%3E%20%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20logics%20for%20the%20weekday%20and%20weekend%20is%20different.%20If%20for%20weekend%20initials%20for%20the%208%20in%20second%20column%20(C)%20goes%20into%20B5%20(I%20guess%20next%20column%20into%20C5%2C%20etc.)%2C%20when%20for%20the%20Monday%20initials%20for%20the%208%20in%20second%20column%20for%20the%20day%20are%20in%20F4%2C%20not%20in%20E5%20if%20do%20that%20similar%20to%20Sunday.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20do%20you%20have%20exactly%20the%20same%20number%20of%20columns%20for%20every%20day%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451192%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451192%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BHere%20is%20an%20example%20of%20a%20full%20week%2C%20both%20spreadsheet%20and%20calendar%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20953px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108684i06A4FF9D4CA99926%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108685i7D05A8F1BAD41C4F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture1.PNG%22%20title%3D%22Capture1.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESo%2C%20Column%20B%3DB9%2C%20C%3DB5%2C%20D%3DC5%2C%20E%3DD5%2C%20F%3DB6%2C%20G%3DC6%2C%20H%3DD9%2C%20I%3DF4%2C%20J%3DG4%2C%20K%3DF5%2C%20L%3DF6%2C%20M%3DF7%2C%20N%3DF8%2C%20O%3DG8.%26nbsp%3B%20Weekdays%20have%20same%20shifts%2C%20Weekends%20have%20same%20shifts.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-474837%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20enter%20a%20value%20from%20column%20A%20if%20there%20is%20a%20value%20in%20column%20C%20into%20a%20different%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-474837%22%20slang%3D%22en-US%22%3EI'm%20using%20excel%202013%2C%20so%20I%20can't%20use%20the%20IFS%20function%3C%2FLINGO-BODY%3E
Highlighted
chescott80
Occasional Contributor

I'm trying to make a work schedule. I have a spreadsheet with all shifts and a calendar style. I'm trying to find a formula to enter values into the calendar.

Capture.PNGCapture1.PNG

This is what it should look like, I've manually entered values into the calendar spreadsheet. For instance, when I enter an 8 into C3 on the top spreadsheet, I want KL to be automatically inserted into B5 on the lower spreadsheet. Is there a formula that I could enter to accomplish this?

6 Replies

@chescott80 , what is the formal logic behind, why in B5 and not in C5 or B6? Same for others. And layout for Monday is fully different from one for Sunday., what is the logic for this?

This is just how our shifts are, weekend vs weekday. I will enter a formula for each cell on the calendar. I can't change the setup for the calendar, this is what employees are used to looking at...the spreadsheet has the actual shifts to schedule. I want to cut down on errors of manually transferring data from the spreadsheet to the calendar.
In column C, the 8 (for 8 hr shift) could be anywhere down the column, not necessarily in the KL row...where ever the 8 is the corresponding initials need to go into B5 on the calendar spreadsheet. In column D, the corresponding initials would be entered into C5 on the calendar.

@chescott80 ,

 

So, logics for the weekday and weekend is different. If for weekend initials for the 8 in second column (C) goes into B5 (I guess next column into C5, etc.), when for the Monday initials for the 8 in second column for the day are in F4, not in E5 if do that similar to Sunday.

 

And do you have exactly the same number of columns for every day?

@Sergei Baklan Here is an example of a full week, both spreadsheet and calendar

Capture.PNGCapture1.PNG

So, Column B=B9, C=B5, D=C5, E=D5, F=B6, G=C6, H=D9, I=F4, J=G4, K=F5, L=F6, M=F7, N=F8, O=G8.  Weekdays have same shifts, Weekends have same shifts.

I'm using excel 2013, so I can't use the IFS function
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies