ShruggedTundra
New Member
- Joined
- Nov 24, 2015
- Messages
- 13
Hi Guys,
looking for a solution to a problem and I'm not even sure I'm searching for the right thing.
Basically I have A spread sheet that I've attached (it's just a snippet the full one contains a full year of days).
What I want to achieve is;
Search range search range A3: NB3 for date In TextBox1<o></o>
Set the activecell as the AM / PM Cell Below date <o></o>
<o> </o>
If Activecell = AM then<o></o>
Search A5:A9 for zone in Textbox 2 <o></o>
Find intersection and activate cell<o></o>
Insert “B” into Activecell <o></o>
<o> </o>
If not AM then <o></o>
Search range B13:NB13 for date <o></o>
Search A15:A19 for Zone <o></o>
Find intersection and activate <o></o>
Insert B into Activecell
I have no code for this right now I'm just starting it out. But the idea is to track if things happened in more than one zone on a partucular day
AM Entries is Cell B2 just for referance.
Thanks you
[TABLE="width: 106"]
<colgroup><col style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;" width="82"> <col style="width: 11pt;" span="4" width="15"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"]<v:shapetype id="_x0000_t201" path="m,l,21600r21600,l21600,xe" o:spt="201" coordsize="21600,21600"> <v:stroke joinstyle="miter"> <vath o:connecttype="rect" fillok="f" strokeok="f" o:extrusionok="f" shadowok="f"> <o:lock shapetype="t" v:ext="edit"> </o:lock></vath></v:stroke></v:shapetype><v:shape style="width: 84pt; height: 22.5pt; margin-top: 4.5pt; margin-left: 3.75pt; position: absolute; z-index: 1; mso-wrap-style: tight;" id="CommandButton1" type="#_x0000_t201" o:insetmode="auto" strokecolor="windowText [64]" stroked="f" o:gfxdata="UEsDBBQABgAIAAAAIQA0Ev94FAEAAFACAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSSy07DMBBF
90j8g+UtSpyyQAg16YLHEliUDxjsSWLhl2y3tH/PJE0kqEo33Vj2zNy5x2MvVztr2BZj0t7VfFFW
nKGTXmnX1fxj/VLcc5YyOAXGO6z5HhNfNddXy/U+YGKkdqnmfc7hQYgke7SQSh/QUab10UKmY+xE
APkFHYrbqroT0ruM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JVs8a3fAirOQwHfUvscLLMW46F1gBhYUGJiFCZxYUGYGAoOBCO8DCx0fWiAwGAY7kizz8uaBwGAQ
7H2k9EvMTEBgMAD+Raj4xW8mIDAwDQQGpoHAwDQQGJgGAgPTQGBgGlXg9gYAFogE9n8AYA0IDExz
FxgFxW5Zrf4DmyeJwOsk72EAAAAASUVORK5CYIJQSwECLQAUAAYACAAAACEANBL/eBQBAABQAgAA
EwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQCtMD/x
wQAAADIBAAALAAAAAAAAAAAAAAAAAEUBAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQDCKMd4
KAIAAL8EAAAfAAAAAAAAAAAAAAAAAC8CAABjbGlwYm9hcmQvZHJhd2luZ3MvZHJhd2luZzEueG1s
UEsBAi0AFAAGAAgAAAAhAFNSiWHSAAAAqwEAACoAAAAAAAAAAAAAAAAAlAQAAGNsaXBib2FyZC9k
cmF3aW5ncy9fcmVscy9kcmF3aW5nMS54bWwucmVsc1BLAQItABQABgAIAAAAIQD9wVrvzgYAAD0c
AAAaAAAAAAAAAAAAAAAAAK4FAABjbGlwYm9hcmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItAAoAAAAA
AAAAIQBVvZbY5AMAAOQDAAAaAAAAAAAAAAAAAAAAALQMAABjbGlwYm9hcmQvbWVkaWEvaW1hZ2Ux
LnBuZ1BLBQYAAAAABgAGAK8BAADQEAAAAAA=
" o:spid="_x0000_s1025"> <v:imagedata o:title="" src="file:///C:\Users\rrh4\AppData\Local\Temp\msohtmlclip1\01\clip_image001.emz"> <x:clientdata ObjectType="Pict"> <x:sizewithcells> <x:autoline>False</x:autoline> <x:cf>Pict</x:cf> <x:autopict> <x:mapocx> </x:mapocx></x:autopict></x:sizewithcells></x:clientdata> </v:imagedata></v:shape>
<tbody>
[TD="class: xl66, width: 82, bgcolor: aqua"]
A1
[/TD]
</tbody> [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl82, bgcolor: transparent"]AM Entries [/TD]
[TD="class: xl75, bgcolor: transparent"]23/02/2016[/TD]
[TD="class: xl75, bgcolor: transparent"]24/02/2016[/TD]
[TD="class: xl75, bgcolor: transparent"]25/02/2016[/TD]
[TD="class: xl75, bgcolor: transparent"]26/02/2016[/TD]
[/TR]
[TR]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 1[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 2 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 3 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 4[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 5 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: lime"]Conflict[/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl82, bgcolor: transparent"]PM Entries [/TD]
[TD="class: xl81, bgcolor: transparent"]23/02/2016[/TD]
[TD="class: xl81, bgcolor: transparent"]24/02/2016[/TD]
[TD="class: xl81, bgcolor: transparent"]25/02/2016[/TD]
[TD="class: xl81, bgcolor: transparent"]26/02/2016[/TD]
[/TR]
[TR]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 1[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 2 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 3 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 4[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 5 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: lime"]Conflict[/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[/TR]
</tbody>[/TABLE]
looking for a solution to a problem and I'm not even sure I'm searching for the right thing.
Basically I have A spread sheet that I've attached (it's just a snippet the full one contains a full year of days).
What I want to achieve is;
Search range search range A3: NB3 for date In TextBox1<o></o>
Set the activecell as the AM / PM Cell Below date <o></o>
<o> </o>
If Activecell = AM then<o></o>
Search A5:A9 for zone in Textbox 2 <o></o>
Find intersection and activate cell<o></o>
Insert “B” into Activecell <o></o>
<o> </o>
If not AM then <o></o>
Search range B13:NB13 for date <o></o>
Search A15:A19 for Zone <o></o>
Find intersection and activate <o></o>
Insert B into Activecell
I have no code for this right now I'm just starting it out. But the idea is to track if things happened in more than one zone on a partucular day
AM Entries is Cell B2 just for referance.
Thanks you
[TABLE="width: 106"]
<colgroup><col style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;" width="82"> <col style="width: 11pt;" span="4" width="15"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"]<v:shapetype id="_x0000_t201" path="m,l,21600r21600,l21600,xe" o:spt="201" coordsize="21600,21600"> <v:stroke joinstyle="miter"> <vath o:connecttype="rect" fillok="f" strokeok="f" o:extrusionok="f" shadowok="f"> <o:lock shapetype="t" v:ext="edit"> </o:lock></vath></v:stroke></v:shapetype><v:shape style="width: 84pt; height: 22.5pt; margin-top: 4.5pt; margin-left: 3.75pt; position: absolute; z-index: 1; mso-wrap-style: tight;" id="CommandButton1" type="#_x0000_t201" o:insetmode="auto" strokecolor="windowText [64]" stroked="f" o:gfxdata="UEsDBBQABgAIAAAAIQA0Ev94FAEAAFACAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSSy07DMBBF
90j8g+UtSpyyQAg16YLHEliUDxjsSWLhl2y3tH/PJE0kqEo33Vj2zNy5x2MvVztr2BZj0t7VfFFW
nKGTXmnX1fxj/VLcc5YyOAXGO6z5HhNfNddXy/U+YGKkdqnmfc7hQYgke7SQSh/QUab10UKmY+xE
APkFHYrbqroT0ruMLhd56MGb5RO2sDGZPe8ofCAJruPs8VA3WNVc20E/xMVJRUSTjiQQgtESMt1N
bJ064iomppKUY03qdUg3BP6Pw5D5y/TbYNK90TCjVsjeIeZXsEQupNHh00NUQkX4ptGmebMozzc9
Qe3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9gYAFogE9n8AYA0IDExz
FxgFxW5Zrf4DmyeJwOsk72EAAAAASUVORK5CYIJQSwECLQAUAAYACAAAACEANBL/eBQBAABQAgAA
EwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQCtMD/x
wQAAADIBAAALAAAAAAAAAAAAAAAAAEUBAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQDCKMd4
KAIAAL8EAAAfAAAAAAAAAAAAAAAAAC8CAABjbGlwYm9hcmQvZHJhd2luZ3MvZHJhd2luZzEueG1s
UEsBAi0AFAAGAAgAAAAhAFNSiWHSAAAAqwEAACoAAAAAAAAAAAAAAAAAlAQAAGNsaXBib2FyZC9k
cmF3aW5ncy9fcmVscy9kcmF3aW5nMS54bWwucmVsc1BLAQItABQABgAIAAAAIQD9wVrvzgYAAD0c
AAAaAAAAAAAAAAAAAAAAAK4FAABjbGlwYm9hcmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItAAoAAAAA
AAAAIQBVvZbY5AMAAOQDAAAaAAAAAAAAAAAAAAAAALQMAABjbGlwYm9hcmQvbWVkaWEvaW1hZ2Ux
LnBuZ1BLBQYAAAAABgAGAK8BAADQEAAAAAA=
" o:spid="_x0000_s1025"> <v:imagedata o:title="" src="file:///C:\Users\rrh4\AppData\Local\Temp\msohtmlclip1\01\clip_image001.emz"> <x:clientdata ObjectType="Pict"> <x:sizewithcells> <x:autoline>False</x:autoline> <x:cf>Pict</x:cf> <x:autopict> <x:mapocx> </x:mapocx></x:autopict></x:sizewithcells></x:clientdata> </v:imagedata></v:shape>
</tbody>
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[TD="class: xl72, width: 15, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[TD="class: xl74, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl82, bgcolor: transparent"]AM Entries [/TD]
[TD="class: xl75, bgcolor: transparent"]23/02/2016[/TD]
[TD="class: xl75, bgcolor: transparent"]24/02/2016[/TD]
[TD="class: xl75, bgcolor: transparent"]25/02/2016[/TD]
[TD="class: xl75, bgcolor: transparent"]26/02/2016[/TD]
[/TR]
[TR]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[TD="class: xl76, bgcolor: transparent"]AM[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 1[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 2 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 3 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 4[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 5 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: lime"]Conflict[/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[TD="class: xl78, bgcolor: lime"] [/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[TD="class: xl72, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[TD="class: xl80, bgcolor: aqua"] [/TD]
[/TR]
[TR]
[TD="class: xl82, bgcolor: transparent"]PM Entries [/TD]
[TD="class: xl81, bgcolor: transparent"]23/02/2016[/TD]
[TD="class: xl81, bgcolor: transparent"]24/02/2016[/TD]
[TD="class: xl81, bgcolor: transparent"]25/02/2016[/TD]
[TD="class: xl81, bgcolor: transparent"]26/02/2016[/TD]
[/TR]
[TR]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[TD="class: xl76, bgcolor: transparent"]PM[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 1[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 2 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 3 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 4[/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Zone 5 [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[TD="class: xl77, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: lime"]Conflict[/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[TD="class: xl79, bgcolor: lime"] [/TD]
[/TR]
</tbody>[/TABLE]