If, then

paquirl

Board Regular
Joined
Oct 12, 2010
Messages
226
Office Version
  1. 2016
Platform
  1. Windows
could i set up something like this?:

IF a row contains a certain value, THEN highlight the row.

or

IF a row does not contain a certain value, THEN hide it.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Conditional formatting for the first part, macro for the second. Others may have different suggestions
 
Upvote 0
could i set up something like this?:

IF a row contains a certain value, THEN highlight the row.

or

IF a row does not contain a certain value, THEN hide it.

So if you have row 1,2,3,4,5 and the value you want is not in row 3 are you want to be left with row 1,2,4,5: or do you just want the contents of Row 3 hidden in that scenario? for example, if you have a white background with black text and the values not in Row 3, turn that rows text white......is that what you mean? if so then Conditional Formatting would work for both
 
Upvote 0
i wish i could post an attachment on here to show you the spreadsheet ...

i look at one column and i want all the rows that have a certain value or greater in that column to be marked.
then i look at another column: i want all the rows that have certain values in the column to be marked.
then i look at a third column: i want all the rows that have a certain value in that column to be marked.

in the end, i want all the rows that i marked to be shown.
 
Upvote 0

Forum statistics

Threads
1,222,310
Messages
6,165,261
Members
451,949
Latest member
bovacik

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