Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello all
I have these field Cut Shortages Assy Shortages R3 V3 in field AF3 I have this formul, =IF(R3<"",R3,"")&IF(V3<"",V3,"") but when I fill R3 with a shortage like VEA-00200 and V3 with another shortage like MSO1020 AF3 show Both shortages so: VEA-00200MSO1020 I would like to have them like VEA-00200, MSO1020 that is the first problem, I resolved using this formul =IF(R3<"",R3,"")&IF(V3<"",", ","")&IF(V3<"",V3,"") but now the problem is when R3 does not have information, and V3 do have, the AF3 show the shortage so: , MSO1020 I would like to have it like :MSO1020 but when R3 do have also information AF3 must show result as : VEA-00200, MSO1020 anybody can help me, I will appreciate so much. -- Lorenzo DÃ*az Cad Technician |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If your entries don't have any embedded spaces, you could use a formula like:
=SUBSTITUTE(TRIM(A1&" "&B1&" "&C1&" "&D1&" "&E1&" "&F1)," ",", ") ldiaz wrote: Hello all I have these field Cut Shortages Assy Shortages R3 V3 in field AF3 I have this formul, =IF(R3<"",R3,"")&IF(V3<"",V3,"") but when I fill R3 with a shortage like VEA-00200 and V3 with another shortage like MSO1020 AF3 show Both shortages so: VEA-00200MSO1020 I would like to have them like VEA-00200, MSO1020 that is the first problem, I resolved using this formul =IF(R3<"",R3,"")&IF(V3<"",", ","")&IF(V3<"",V3,"") but now the problem is when R3 does not have information, and V3 do have, the AF3 show the shortage so: , MSO1020 I would like to have it like :MSO1020 but when R3 do have also information AF3 must show result as : VEA-00200, MSO1020 anybody can help me, I will appreciate so much. -- Lorenzo DÃ*az Cad Technician -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Dave
this Formul work very good, Thank you so much for your help Ld -- Lorenzo DÃ*az Cad Technician "Dave Peterson" wrote: If your entries don't have any embedded spaces, you could use a formula like: =SUBSTITUTE(TRIM(A1&" "&B1&" "&C1&" "&D1&" "&E1&" "&F1)," ",", ") ldiaz wrote: Hello all I have these field Cut Shortages Assy Shortages R3 V3 in field AF3 I have this formul, =IF(R3<"",R3,"")&IF(V3<"",V3,"") but when I fill R3 with a shortage like VEA-00200 and V3 with another shortage like MSO1020 AF3 show Both shortages so: VEA-00200MSO1020 I would like to have them like VEA-00200, MSO1020 that is the first problem, I resolved using this formul =IF(R3<"",R3,"")&IF(V3<"",", ","")&IF(V3<"",V3,"") but now the problem is when R3 does not have information, and V3 do have, the AF3 show the shortage so: , MSO1020 I would like to have it like :MSO1020 but when R3 do have also information AF3 must show result as : VEA-00200, MSO1020 anybody can help me, I will appreciate so much. -- Lorenzo DÃÂ*az Cad Technician -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro | Excel Discussion (Misc queries) | |||
Question about copying column of cells and...... | Excel Worksheet Functions | |||
Conditional Format as a MACRO | Excel Worksheet Functions | |||
Return SEARCHED Column Number of Numeric Label and Value | Excel Worksheet Functions | |||
creating a bar graph | Excel Discussion (Misc queries) |