SOLVED
Home

Excel Formula Help Please

%3CLINGO-SUB%20id%3D%22lingo-sub-339489%22%20slang%3D%22en-US%22%3EExcel%20Formula%20Help%20Please%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-339489%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Community%3C%2FP%3E%3CP%3EHopefully%20you%20guys%20can%20give%20me%20a%20formula%20for%20the%20following%20-%20basically%20I%20have%20four%20cells%2C%20lets%20say%20A%2CB%2CC%2CD%26nbsp%3B%20(starting%20on%20column%202)%20-%20if%20I%20place%20an%20x%20in%20one%20of%20those%20cells%20I%20want%20the%20value%20to%20pop%20up%20in%20cell%20E.%3C%2FP%3E%3CP%3EThe%20values%20are%20simple%20A%3D1%20%2C%20B%3D2%2C%20C-3%2C%20D%3D4%20-%20for%20example%20if%20i%20place%20an%20x%20in%20cell%20D%20-%20the%20number%204%20will%20pop%20up%20in%20cell%20E%20-%20cell%20A%2CB%20and%20C%20will%20have%20nothing%20in%20their%20cells.%20Or%20if%20I%20place%20an%20x%20in%20cell%20A%20only%20and%20leave%20the%20other%20three%20blank%20a%201%20will%20pop%20up%20in%20cell%20E%20and%20so%20on.%20Not%20sure%20if%20this%20is%20an%20%22argument%22%20or%20%22if%22%20function%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20thats%20not%20to%20confusing%20but%20I%20am%20sure%20its%20a%20simple%20formula%20for%20someone%20in%20the%20know%20-%20Many%20Thanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-339489%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-339641%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20Help%20Please%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-339641%22%20slang%3D%22en-US%22%3EAmazing%20-%20It%20absolutely%20works%2C%20thank%20you%20so%20much.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-339538%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20Help%20Please%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-339538%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20the%20easiest%20solution%20is%20this%20formula%3A%3C%2FP%3E%3CPRE%3E%3DMATCH(%22x%22%2CA1%3AD1%2C0)%3C%2FPRE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20883px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F75190i77EFF22F4745EAD0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Simple%20Usage%20of%20MATCH.png%22%20title%3D%22Simple%20Usage%20of%20MATCH.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Gwads1968
Occasional Contributor

Hi Community

Hopefully you guys can give me a formula for the following - basically I have four cells, lets say A,B,C,D  (starting on column 2) - if I place an x in one of those cells I want the value to pop up in cell E.

The values are simple A=1 , B=2, C-3, D=4 - for example if i place an x in cell D - the number 4 will pop up in cell E - cell A,B and C will have nothing in their cells. Or if I place an x in cell A only and leave the other three blank a 1 will pop up in cell E and so on. Not sure if this is an "argument" or "if" function etc.

 

I hope thats not to confusing but I am sure its a simple formula for someone in the know - Many Thanks.

 

2 Replies
Solution

Hi,

 

I think the easiest solution is this formula:

=MATCH("x",A1:D1,0)

Simple Usage of MATCH.png

 

Hope that helps 

Amazing - It absolutely works, thank you so much.
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies