Comparing Values in Different Cells

daisyoso

New Member
Joined
Aug 10, 2017
Messages
20
Hi anybody can help me with this pls.

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Strong[/TD]
[TD="align: center"]Medium[/TD]
[TD="align: center"]Weak[/TD]
[TD="align: center"]Result[/TD]
[/TR]
[TR]
[TD="align: center"]O[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]100%[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]O[/TD]
[TD="align: center"][/TD]
[TD="align: center"]75%[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]

All I want to show is that when I key in "O" in the strong column, I will have a value in the Result as 100%, if I key in "O" in the Medium Column, I will have a value in the result as 75% and so in the Weak column.

Kindly help. Thank you.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi anybody can help me with this pls.

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Strong[/TD]
[TD="align: center"]Medium[/TD]
[TD="align: center"]Weak[/TD]
[TD="align: center"]Result[/TD]
[/TR]
[TR]
[TD="align: center"]O[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]100%[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]O[/TD]
[TD="align: center"][/TD]
[TD="align: center"]75%[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]

All I want to show is that when I key in "O" in the strong column, I will have a value in the Result as 100%, if I key in "O" in the Medium Column, I will have a value in the result as 75% and so in the Weak column.

Kindly help. Thank you.

Hi,

Let's say Strong is cell A1, then in D2 (100%), type
Code:
=if(A2="O",100%,if(B2="O",75%,0))
and drag it down
 
Last edited:
Upvote 0
This is the access forum - what's a cell? :confused::)

Seriously though, if your question is about Excel then Kamolga's solution above should work... if not then let us know if you are inputting this in a table (not recommended), a form or a query.
 
Last edited:
Upvote 0
Hi Kamolga,

Thank you very much for the solution! You are the best!

Let's say Strong is cell A1, then in D2 (100%), type
Code:
=if(A2="O",100%,if(B2="O",75%,0))
and drag it down[/QUOTE]
 
Upvote 0
Since it appears that this actually was an Excel question, I have moved it to the Excel Questions forum.

Oups sorry my mistake, indeed I thought I was in Excel forum
I am guessing that maybe you stumbled across this question using the "Zero Reply Posts". Note that will show questions from all the forums.
If you look over to the far left of each line, it will list what forum that particular question is found in.
 
Upvote 0
Hi Kamolga,
Just want to try if you know this.

Cell A1 Cell A2
1-Nov-2017 14-Nov-2017 (I just want that if I key in a date in Cell A1, it will automatically add 14 days in Cell A2. If Cell A1 is 0, Value is should be blank.)

Hope you can help me.
Thank you so much.
 
Upvote 0
Hi Kamolga,
Just want to try if you know this.

Cell A1 Cell A2
1-Nov-2017 14-Nov-2017 (I just want that if I key in a date in Cell A1, it will automatically add 14 days in Cell A2. If Cell A1 is 0, Value is should be blank.)

Hope you can help me.
Thank you so much.

Hi,

You need to set up A2 as a date and then paste
Code:
=IF(A1=0;"";A1+14)

If you want, you can can also use data validation (data tab) so that if user put something else than a date in A1, he will get error message
 
Upvote 0
Hi Kamolga!

Thank you for the reply and the solution..but it is not semicolon..must be comma..Thank you so much for the help! really appreciate it.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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