If multiple cells in row have specific values, then give name to cell.

Aproxcv

New Member
Joined
Mar 18, 2018
Messages
2
Hello,

I really need help with one thing in excel 2016
Ill try to describe my problem:

I have big data file with columns from A to W

I am categorizing them and want to create a "derivative" column (if this is the correct term).

For example
If cell from column A1 contains value 1, and cell from H1 contains value "5 and random text", and cell k1 contains "random text" THEN put name on cell X1=category 1. (and i wish to create ~3 such categorys with different if's)

Does this kind of function IF exists in excel?

Have I described my problem clear enough?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
in X1
=IF(AND(A1=1,H1="S and random text",K1="random text"),"Category 1","")

Base the other category names and IF requirements on the above
 
Upvote 0
in X1
=IF(AND(A1=1,H1="S and random text",K1="random text"),"Category 1","")

Base the other category names and IF requirements on the above

=IF(AND(A2=2,H2="1 = high"),"Category1",OR(A2=1,H2="0 & 3 = low alarm raised"),"category2",)

And i receive error message "too many arguments..." how to extend this, it looks like it should work.
 
Upvote 0
=IF(AND(A2=2,H2="1 = high"),"Category1",OR(A2=1,H2="0 & 3 = low alarm raised"),"category2",)

And i receive error message "too many arguments..." how to extend this, it looks like it should work.

Hi,

This is just to correct your formula above.
What do you mean by "5 and random text" and "random text" in you OP?


Book1
AHX
221 = highCategory1
310 & 3 = low alarm raisedCategory2
Sheet42
Cell Formulas
RangeFormula
X2=IF(AND(A2=2,H2="1 = high"),"Category1",IF(OR(A2=1,H2="0 & 3 = low alarm raised"),"Category2",""))
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

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