If function

ramshad

New Member
Joined
Apr 9, 2016
Messages
3
if a cell shows FRIDAY, I need 12:00 in another cell</SPAN>
if it is SATURDAY, I need 15:00 in another cell</SPAN></SPAN>
if it is SUNDAY, MONDAY, TUESDAY, WEDNESDAY</SPAN></SPAN></SPAN>

[TABLE="class: MsoNormalTable, width: 771"]
<TBODY>[TR]
[TD="width: 1029, bgcolor: transparent, colspan: 13"][/TD]
[/TR]
[TR]
[TD="width: 169, bgcolor: transparent, colspan: 2"][/TD]
[TD="width: 65, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 114, bgcolor: transparent"][/TD]
[TD="width: 96, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 163, bgcolor: transparent, colspan: 2"][/TD]
[TD="width: 45, bgcolor: transparent"][/TD]
[TD="width: 25, bgcolor: transparent"][/TD]
[TD="width: 25, bgcolor: transparent"][/TD]
[TD="width: 123, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 234, bgcolor: transparent, colspan: 3"][/TD]
[TD="width: 102, bgcolor: transparent"]<v:shapetype id=_x0000_t32 filled="f" path="m,l21600,21600e" o:oned="t" o:spt="32" coordsize="21600,21600"><v:path o:connecttype="none" fillok="f" arrowok="t"></v:path><o:lock shapetype="t" v:ext="edit"></o:lock></v:shapetype><v:shape style="Z-INDEX: 251665408; POSITION: absolute; MARGIN-TOP: 12.25pt; WIDTH: 371.25pt; HEIGHT: 63pt; VISIBILITY: visible; MARGIN-LEFT: 62.95pt; flip: x; mso-wrap-style: square; mso-width-percent: 0; mso-height-percent: 0; mso-wrap-distance-left: 9pt; mso-wrap-distance-top: 0; mso-wrap-distance-right: 9pt; mso-wrap-distance-bottom: 0; mso-position-horizontal: absolute; mso-position-horizontal-relative: text; mso-position-vertical: absolute; mso-position-vertical-relative: text; mso-width-relative: margin; mso-height-relative: margin" id=Straight_x0020_Arrow_x0020_Connector_x0020_2 strokeweight="2.25pt" strokecolor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gAAAAhALvlSJQFAQAA

HgIAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQSwECLQAUAAYACAAAACEA

rTA/8cEAAAAyAQAACwAAAAAAAAAAAAAAAAA2AQAAX3JlbHMvLnJlbHNQSwECLQAUAAYACAAAACEA

387MseYBAACyBAAAHwAAAAAAAAAAAAAAAAAgAgAAY2xpcGJvYXJkL2RyYXdpbmdzL2RyYXdpbmcx

LnhtbFBLAQItABQABgAIAAAAIQCcTl4h4gYAADocAAAaAAAAAAAAAAAAAAAAAEMEAABjbGlwYm9h

cmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItABQABgAIAAAAIQCcZkZBuwAAACQBAAAqAAAAAAAAAAAA

AAAAAF0LAABjbGlwYm9hcmQvZHJhd2luZ3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHNQSwUGAAAA

AAUABQBnAQAAYAwAAAAA

" type="#_x0000_t32" o:spid="_x0000_s1027"><v:stroke endarrow="open" startarrow="open"></v:stroke></v:shape><o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"][/TD]
[TD="width: 96, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 163, bgcolor: transparent, colspan: 2"]DATE<o:p></o:p>
[/TD]
[TD="width: 218, bgcolor: transparent, colspan: 4"]Friday, April 01, 2016<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent, colspan: 2"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 114, bgcolor: transparent"][/TD]
[TD="width: 96, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 163, bgcolor: transparent, colspan: 2"][/TD]
[TD="width: 45, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 173, bgcolor: transparent, colspan: 3"][/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"]
ملاحظات<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent, colspan: 2"]
التوقيع<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
وقت الخروج<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]
التوقيع<o:p></o:p>
[/TD]
[TD="width: 96, bgcolor: transparent"]
وقت الدخول<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
الدائرة<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
رقم التوظيف<o:p></o:p>
[/TD]
[TD="width: 82, bgcolor: transparent, colspan: 2"]
الاســــــم<o:p></o:p>
[/TD]
[TD="width: 173, bgcolor: transparent, colspan: 3"]
الرقم<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"]
REMARKS<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent, colspan: 2"]
SIGNATURE<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
TIME OUT<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]
SIGNATURE<o:p></o:p>
[/TD]
[TD="width: 96, bgcolor: transparent"]
TIME IN<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
DIRECTORATE<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
EMP. NO.<o:p></o:p>
[/TD]
[TD="width: 82, bgcolor: transparent, colspan: 2"]
NAME<o:p></o:p>
[/TD]
[TD="width: 173, bgcolor: transparent, colspan: 3"]
SR. NO.<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
12:00<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]<o:p></o:p>
[/TD]
[TD="width: 96, bgcolor: transparent"]
7:00<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 82, bgcolor: transparent, colspan: 2"]<o:p></o:p>
[/TD]
[TD="width: 173, bgcolor: transparent, colspan: 3"]
1<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]<o:p></o:p>
[/TD]
[TD="width: 96, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 82, bgcolor: transparent, colspan: 2"]<o:p></o:p>
[/TD]
[TD="width: 173, bgcolor: transparent, colspan: 3"]
2<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"]<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]<o:p></o:p>
[/TD]
[TD="width: 96, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 102, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 82, bgcolor: transparent, colspan: 2"]<o:p></o:p>
[/TD]
[TD="width: 173, bgcolor: transparent, colspan: 3"]
3<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 132, bgcolor: transparent"][/TD]
[TD="width: 37, bgcolor: transparent"][/TD]
[TD="width: 65, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 114, bgcolor: transparent"][/TD]
[TD="width: 96, bgcolor: transparent"][/TD]
[TD="width: 102, bgcolor: transparent"][/TD]
[TD="width: 126, bgcolor: transparent"][/TD]
[TD="width: 37, bgcolor: transparent"][/TD]
[TD="width: 45, bgcolor: transparent"][/TD]
[TD="width: 25, bgcolor: transparent"][/TD]
[TD="width: 25, bgcolor: transparent"][/TD]
[TD="width: 123, bgcolor: transparent"][/TD]
[/TR]
</TBODY>[/TABLE]
<o:p></o:p>
[TABLE="class: MsoNormalTable, width: 788"]
<TBODY>[TR]
[TD="width: 169, bgcolor: transparent, colspan: 2"][/TD]
[TD="width: 71, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 126, bgcolor: transparent"][/TD]
[TD="width: 144, bgcolor: transparent"][/TD]
[TD="width: 146, bgcolor: transparent"][/TD]
[TD="width: 83, bgcolor: transparent"][/TD]
[TD="width: 51, bgcolor: transparent"][/TD]
[TD="width: 25, bgcolor: transparent"][/TD]
[TD="width: 25, bgcolor: transparent"][/TD]
[TD="width: 139, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 240, bgcolor: transparent, colspan: 3"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 126, bgcolor: transparent"][/TD]
[TD="width: 144, bgcolor: transparent"][/TD]
[TD="width: 146, bgcolor: transparent"][/TD]
[TD="width: 83, bgcolor: transparent"]DATE<o:p></o:p>
[/TD]
[TD="width: 240, bgcolor: transparent, colspan: 4"]Saturday, April 02, 2016<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 126, bgcolor: transparent"][/TD]
[TD="width: 114, bgcolor: transparent, colspan: 2"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 126, bgcolor: transparent"]
<v:shape style="Z-INDEX: 251663360; POSITION: absolute; TEXT-ALIGN: left; MARGIN-TOP: 9.05pt; WIDTH: 371.25pt; HEIGHT: 63pt; VISIBILITY: visible; MARGIN-LEFT: 17.05pt; LEFT: 0px; flip: x; mso-wrap-style: square; mso-width-percent: 0; mso-height-percent: 0; mso-wrap-distance-left: 9pt; mso-wrap-distance-top: 0; mso-wrap-distance-right: 9pt; mso-wrap-distance-bottom: 0; mso-position-horizontal: absolute; mso-position-horizontal-relative: text; mso-position-vertical: absolute; mso-position-vertical-relative: text; mso-width-relative: margin; mso-height-relative: margin" id=Straight_x0020_Arrow_x0020_Connector_x0020_1 strokeweight="2.25pt" strokecolor="#4579b8 [3044]" o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF

dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ

gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI

+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb

mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu

ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y

ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx

jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5

8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj

MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAyuDoTOYBAACyBAAA

HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWykVNtu1DAQfUfiHyy/0yTbLRuiZiu0

l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ezTfuyM3liTJN3HGpaAUGnvJ6c4XDrL7sjkJSl03L2DjksmKAV201zxVnmcpTGKSRSKC5x

GHMOJ8aSGtHKRH1AVzaDj1bmIqNhQaq7NMj2VXVg8ZMB4otJOs0hdroG0i+hJP9n+2GYFJ69elh0

+UcEy6UXFqCMBjMHSldnnTUtXYGJhn39Jt4AAAD//wMAUEsBAi0AFAAGAAgAAAAhALvlSJQFAQAA

HgIAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQSwECLQAUAAYACAAAACEA

rTA/8cEAAAAyAQAACwAAAAAAAAAAAAAAAAA2AQAAX3JlbHMvLnJlbHNQSwECLQAUAAYACAAAACEA

yuDoTOYBAACyBAAAHwAAAAAAAAAAAAAAAAAgAgAAY2xpcGJvYXJkL2RyYXdpbmdzL2RyYXdpbmcx

LnhtbFBLAQItABQABgAIAAAAIQCcTl4h4gYAADocAAAaAAAAAAAAAAAAAAAAAEMEAABjbGlwYm9h

cmQvdGhlbWUvdGhlbWUxLnhtbFBLAQItABQABgAIAAAAIQCcZkZBuwAAACQBAAAqAAAAAAAAAAAA

AAAAAF0LAABjbGlwYm9hcmQvZHJhd2luZ3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHNQSwUGAAAA

AAUABQBnAQAAYAwAAAAA

" type="#_x0000_t32" o:spid="_x0000_s1026"><v:stroke endarrow="open" startarrow="open"></v:stroke></v:shape><o:p></o:p>
[/TD]
[TD="width: 144, bgcolor: transparent"][/TD]
[TD="width: 146, bgcolor: transparent"][/TD]
[TD="width: 83, bgcolor: transparent"][/TD]
[TD="width: 101, bgcolor: transparent, colspan: 3"]
<o:p></o:p>
[/TD]
[TD="width: 139, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 126, bgcolor: transparent"]
ملاحظات<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent, colspan: 2"]
التوقيع<o:p></o:p>
[/TD]
[TD="width: 72, bgcolor: transparent"]
وقت الخروج<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
التوقيع<o:p></o:p>
[/TD]
[TD="width: 144, bgcolor: transparent"]
وقت الدخول<o:p></o:p>
[/TD]
[TD="width: 146, bgcolor: transparent"]
الدائرة<o:p></o:p>
[/TD]
[TD="width: 134, bgcolor: transparent, colspan: 2"]
رقم التوظيف<o:p></o:p>
[/TD]
[TD="width: 50, bgcolor: transparent, colspan: 2"]
الاســــــم<o:p></o:p>
[/TD]
[TD="width: 139, bgcolor: transparent"]
الرقم<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 126, bgcolor: transparent"]
REMARKS<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent, colspan: 2"]
SIGNATURE<o:p></o:p>
[/TD]
[TD="width: 72, bgcolor: transparent"]
TIME OUT<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]
SIGNATURE<o:p></o:p>
[/TD]
[TD="width: 144, bgcolor: transparent"]
TIME IN<o:p></o:p>
[/TD]
[TD="width: 146, bgcolor: transparent"]
DIRECTORATE<o:p></o:p>
[/TD]
[TD="width: 134, bgcolor: transparent, colspan: 2"]
EMP. NO.<o:p></o:p>
[/TD]
[TD="width: 50, bgcolor: transparent, colspan: 2"]
NAME<o:p></o:p>
[/TD]
[TD="width: 139, bgcolor: transparent"]
SR. NO.<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 126, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 72, bgcolor: transparent"]
15:00<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]<o:p></o:p>
[/TD]
[TD="width: 144, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 146, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 134, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 50, bgcolor: transparent, colspan: 2"]<o:p></o:p>
[/TD]
[TD="width: 139, bgcolor: transparent"]
1<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 126, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 72, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 126, bgcolor: transparent"]<o:p></o:p>
[/TD]
[TD="width: 144, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 146, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[TD="width: 134, bgcolor: transparent, colspan: 2"]
<o:p></o:p>
[/TD]
[TD="width: 50, bgcolor: transparent, colspan: 2"]<o:p></o:p>
[/TD]
[TD="width: 139, bgcolor: transparent"]
2<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 126, bgcolor: transparent"][/TD]
[TD="width: 43, bgcolor: transparent"][/TD]
[TD="width: 71, bgcolor: transparent"][/TD]
[TD="width: 72, bgcolor: transparent"][/TD]
[TD="width: 126, bgcolor: transparent"][/TD]
[TD="width: 144, bgcolor: transparent"][/TD]
[TD="width: 146, bgcolor: transparent"][/TD]
[TD="width: 83, bgcolor: transparent"][/TD]
[TD="width: 51, bgcolor: transparent"][/TD]
[TD="width: 26, bgcolor: transparent"][/TD]
[TD="width: 26, bgcolor: transparent"][/TD]
[TD="width: 139, bgcolor: transparent"][/TD]
[/TR]
</TBODY>[/TABLE]
<o:p></o:p>
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
if a cell shows FRIDAY, I need 12:00 in another cell
if it is SATURDAY, I need 15:00 in another cell
if it is SUNDAY, MONDAY, TUESDAY, WEDNESDAY
where you need 12:00 or 15:00 ?
or.. what is your expectation if it is Sunday, Monday, Tuesday and Wednesday ?


Regards,
DILIPandey
 
Upvote 0
where you need 12:00 or 15:00 ?
or.. what is your expectation if it is Sunday, Monday, Tuesday and Wednesday ?


Regards,
DILIPandey

This is for preparing a time sheet. Suppose the date in the topmost cell is 01 April 2016 Friday, i would like to get 12:00 in the TIME OUT cell. Like this 15:00 for Saturday and 19:00 for other days.
[TABLE="width: 1029"]
<tbody>[TR]
[TD="colspan: 13"][/TD]
[/TR]
[TR]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 3"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]DATE
[/TD]
[TD="colspan: 4"]Friday, April 01, 2016
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD]
[/TD]
[TD="colspan: 3"][/TD]
[/TR]
[TR]
[TD]ملاحظات
[/TD]
[TD="colspan: 2"]التوقيع
[/TD]
[TD]وقت الخروج
[/TD]
[TD]التوقيع
[/TD]
[TD]وقت الدخول
[/TD]
[TD]الدائرة
[/TD]
[TD]رقم التوظيف
[/TD]
[TD="colspan: 2"]الاســــــم
[/TD]
[TD="colspan: 3"]الرقم
[/TD]
[/TR]
[TR]
[TD]REMARKS
[/TD]
[TD="colspan: 2"]SIGNATURE
[/TD]
[TD]TIME OUT
[/TD]
[TD]SIGNATURE
[/TD]
[TD]TIME IN
[/TD]
[TD]DIRECTORATE
[/TD]
[TD]EMP. NO.
[/TD]
[TD="colspan: 2"]NAME
[/TD]
[TD="colspan: 3"]SR. NO.
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD="colspan: 2"]
[/TD]
[TD]12:00
[/TD]
[TD]
[/TD]
[TD]7:00
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD="colspan: 2"]
[/TD]
[TD="colspan: 3"]1
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD="colspan: 2"]
[/TD]
[TD="colspan: 3"]2
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD="colspan: 2"]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD="colspan: 2"]
[/TD]
[TD="colspan: 3"]3
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Okay.. assuming topmost cell is a1, use below formula to get desired output:-

=IF(TEXT(A1,"DDD")="Fri",TIME(12,0,0),IF(TEXT(A1,"DDD")="Sat",TIME(15,0,0),TIME(19,0,0)))

Format the cell containing formula as time with format 13:00


Regards,
DILIPandey
 
Upvote 0
Okay.. assuming topmost cell is a1, use below formula to get desired output:-

=IF(TEXT(A1,"DDD")="Fri",TIME(12,0,0),IF(TEXT(A1,"DDD")="Sat",TIME(15,0,0),TIME(19,0,0)))

Format the cell containing formula as time with format 13:00


Regards,
DILIPandey
THANK YOU VERY MUCH DILIPandey, it works. thank you, thank you
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,484
Members
452,917
Latest member
MrsMSalt

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