#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default formula, if

I'd like help coming up with a formula that will say if B4=QC , then show"QC
Required" in cell B5. I came up with if(B5="QC",C5) C5 would have "QC
required" in it. This formula works for the first option but how would i go
about have all 5 options listen so if cell1 contains "qc" it would equal "QC
required", BUT if it contain
SC" it would say "step check all welds"... and so forth for L,M,H

QC QC required
SC Step check all welds
L Cycle in auto once if manually operated
M Cycle in auto three times without faults
H Cycle in auto five times without faults

Any help would be great.
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default formula, if

Suppose you put this table out of the way somewhere in the same sheet,
say occupying cells X1 to Y5. Then all you need to put in B5 is this
formula:

=VLOOKUP(B4,$X$1:$Y$5,2,0)

Hope this helps.

Pete

On Mar 13, 4:30*pm, Karine wrote:
*I'd like help coming up with a formula that will say if B4=QC , then show"QC
Required" in cell B5. I came up with if(B5="QC",C5) C5 would have "QC
required" in it. This formula works for the first *option but how would i go
about have all 5 options listen so if cell1 contains "qc" it would equal "QC
required", BUT if it contain
SC" it would say "step check all welds"... and so forth for L,M,H

QC * * * QC required * *
SC * * * * * *Step check all welds * * *
L * * * Cycle in auto once if manually operated
M * * * Cycle in auto three times without faults * * * *
H * * * Cycle in auto five times without faults

Any help would be great.
Thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default formula, if

=LOOKUP(B4,{"H","L","M","QC","SC"},
{"Cycle in auto five times without faults","Cycle in auto once if manually
operated","Cycle in auto three times without faults","QC required","Step
check all welds"})

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Karine" wrote in message
...
I'd like help coming up with a formula that will say if B4=QC , then
show"QC
Required" in cell B5. I came up with if(B5="QC",C5) C5 would have "QC
required" in it. This formula works for the first option but how would i
go
about have all 5 options listen so if cell1 contains "qc" it would equal
"QC
required", BUT if it contain
SC" it would say "step check all welds"... and so forth for L,M,H

QC QC required
SC Step check all welds
L Cycle in auto once if manually operated
M Cycle in auto three times without faults
H Cycle in auto five times without faults

Any help would be great.
Thanks in advance



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"