I have data in Excel like below, i want to display two things here -


I have data in excel as below, i want to display two things here

1) If the urea column H = - then the column B should change the color.

2) If MR + VP should come in its own form -

 SLNo SID RV TT BSA XLD Lact Urea TSI Industries MR VP Seat Nitrate Oxidated ONPG PCR Salam? SB H2S GR 1 R-13 + KA - - + - + - + - - - 2 - 5 TB - KK - - + + + + + - - 3 7.3 R + KA - - + + + + + - - - 4 11.1 R + KA + - + - + - + - - 5 + 15 + KA - + + + + - + - - 6 16.2 RB - K + + + + + - D - - 7 18.04 - KK - - + - + - + - - - 8 18.1 RKK - - + - - - + + - - - 9 20.2 RKA - + + + + + + - - + 10 20.3 T - KA - - + + + + + - - + + 11R / 28.1-K + + + + - - - - + + 

ans1:

I have used conditional formatting option and = ISNUMBER (SEARCH (H5, "-")), it works, but the problem is also empty in the urea column

ans 2: Pls suggest

Answer 1: Your CF formula is wrong. Find_Text is the first argument;

Or, simple

  code> = H2 = "-"  

Answer 2 : You can use an event-triggered macro to enter this event-triggered macro, right-click on the sheet tab. Select "View Code" from the right-click drop-down menu and then paste the code below into the window that opens.

  Options Clear private sub worksheet tags (by-target in range form), in the form of dim RRR range, cell set as range in the form of RVP range Range = RR = with After address (what: = "MR", after: = [A1], Lookin: = XLVL, letterat: = XLHhohl, _Searchender: = XLBIRIO, Search Decrease: = XL-NX, MatchCyz: = False) RVP = Set Please. (What is: = "VP") If RMR is nothing and RVP is nothing then set RMR = range (RMR, cells (rows.count, RMR column). End (XLEEP) set RVP = RVP Reset (Rows: = RMR.ROS.Count)  Application. Enabled Events = Untrue If there is no difference (Target, RMR) then there is no built in Target (Target, RMR) for each C C. Value = "+" then RVP (CRRO). If value is not something (target, RVP) is nothing, then for each C, the RMR (CR) value for intersecting (target, RVP) value = "+" then value = "+" then value of C. = value = "-" Next C & End If If Applied Cation.EnableEvents = True End Sub  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -