Excel formula to look up first instance of a range of words in a range of cells

Willforth

New Member
Joined
Aug 2, 2011
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hi, I wonder if anyone can help.

In 4 columns I have a range of 4 letters. These letters will only appear if another cell meets certain criteria that I have programmed otherwise the cell will be blank

Column H ="WS"
Column I ="WL"
Column J= "LS"
Column K = "LL"

The range of the cells I want covered is H4:K:29

Within this range I want a formula that returns a "W" in cell if the first letters it sees in the range are "WS" or "WL". If the first thing it sees is "LS" or"LL" it returns an "S" if it sees nothing, then return a 0

I am now at the stage where my brain is exploding!! :confused:
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

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