Need to remove Arrow againts -,* and #value

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
1,004
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team,

I need a output as column G as i am comparing row 4 B vs L in the data

so if I have *,- or Value I don't want any arrow please see the example

book1
ABCDEFG
1
2
3Wave 1Wave 2
4BL
5* If we have "Value, *,- then i don’t want any arrow on Column E output data in G Column
6
7Output
8
953%#VALUE!53 OPQRSTB*53% ▲Incorrect53%
1045%*45 ORTB*45% ▲Incorrect45%
1149%61 ADEF*49 OPRS*49% 49%
1263%-63 NOPQRSTB*63% ▲Incorrect63%
1361%70 ADEFL*61 KOPQRST*61% ▼61% ▼
1447%59 ADEF*47 OQRT*47% 47%
1550%68 ADEFL#VALUE!50% ▼Incorrect50%
1639%41 ADL**39% ▼Incorrect39%
1772%55 ADEF72 TB*72% ▲72% ▲
1880%80 L40 O80% ▼80% ▼
Sheet1
Cell Formulas
RangeFormula
E9:E18E9=A9*100&"%"&" "&IFERROR(IF(FIND($B$4,C9),E$1),"")&IFERROR(IF(FIND($C$4,B9),E$2),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:C1048576,C7,B1:C6Cellcontains an errortextNO
B8:C1048576,C7,B1:C6Cell Valuecontains "#VALUE!"textNO
B3:C3Cell ValueduplicatestextNO
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi Team,

I need a output as column G as i am comparing row 4 B vs L in the data

so if I have *,- or Value I don't want any arrow please see the example

book1
ABCDEFG
1
2
3Wave 1Wave 2
4BL
5* If we have "Value, *,- then i don’t want any arrow on Column E output data in G Column
6
7Output
8
953%#VALUE!53 OPQRSTB*53% ▲Incorrect53%
1045%*45 ORTB*45% ▲Incorrect45%
1149%61 ADEF*49 OPRS*49% 49%
1263%-63 NOPQRSTB*63% ▲Incorrect63%
1361%70 ADEFL*61 KOPQRST*61% ▼61% ▼
1447%59 ADEF*47 OQRT*47% 47%
1550%68 ADEFL#VALUE!50% ▼Incorrect50%
1639%41 ADL**39% ▼Incorrect39%
1772%55 ADEF72 TB*72% ▲72% ▲
1880%80 L40 O80% ▼80% ▼
Sheet1
Cell Formulas
RangeFormula
E9:E18E9=A9*100&"%"&" "&IFERROR(IF(FIND($B$4,C9),E$1),"")&IFERROR(IF(FIND($C$4,B9),E$2),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:C1048576,C7,B1:C6Cellcontains an errortextNO
B8:C1048576,C7,B1:C6Cell Valuecontains "#VALUE!"textNO
B3:C3Cell ValueduplicatestextNO
Hi Team,

Any update on above things...!!
 
Upvote 0
I don't understand the logic. Please spell it out in ore detail (with examples).
 
Upvote 0
I don't understand the logic. Please spell it out in ore detail (with examples).
Hi Peter,

Thank you for looking into it..

So we have a "B" and "L" letter in Row number 4 so

If Cell B4 letter "B" comes in column (C) C9 it will be up arrow
If Cell C4 letter "L" comes in Column(B) B9 it will be a down arrow.

But if w have *,- or Value then there should be no arrow..

My output is in Column G

Where we can see the Arrow

Cell B4 "B" is coming in C17 "72TB" so B is coming so it will be up arrow
Cell C4 "L" is coming in B18 "80L" so L is coming so it will be down arrow
But if we have But if w have *,- or Value then there should be no arrow..

Regards
Sanjeev
 
Upvote 0
Thanks for the further information.

if we have But if w have *,- or Value
  1. Does value actually mean #VALUE!?

  2. In row 9, "B" is found in C9. Your desired output has no arrow. Is that because B9 has #VALUE or because C9 includes an asterisk at the end or some other reason?

  3. Would it ever be possible to have a "B" in col C and an "L" in col B in the same row? If so, what happens?
 
Upvote 0
Thanks for the further information.


  1. Does value actually mean #VALUE!?

  2. In row 9, "B" is found in C9. Your desired output has no arrow. Is that because B9 has #VALUE or because C9 includes an asterisk at the end or some other reason?

  3. Would it ever be possible to have a "B" in col C and an "L" in col B in the same row? If so, what happens?

Hi Peter,

1. Yes, Value means #Value
2.yes because B9 has #value due to that I don't want arrow if instead of #value if we have "C9" data "23 L" (assume) then it will be an up arrow.
3. Yes, Always we will get "B" in col C and "L" in col B so we will get an arrow (output is available in Col G)
 
Upvote 0
3. Yes, Always we will get "B" in col C and "L" in col B so we will get an arrow (output is available in Col G)
I'm not sure you interpreted my question correctly. I was asking about those two things on the same row. See my example in row 19 below. I was just wondering if both arrows are possible on the same row.

Anyway, see if this helps.

sksanjeev786_1.xlsm
ABCDEFG
1
2
3Wave 1Wave 2
4BL
5
6
7Output
8
953%#VALUE!53 OPQRSTB*53% ▲Incorrect53%
1045%*45 ORTB*45% ▲Incorrect45%
1149%61 ADEF*49 OPRS*49% 49%
1263%-63 NOPQRSTB*63% ▲Incorrect63%
1361%70 ADEFL*61 KOPQRST*61% ▼61% ▼
1447%59 ADEF*47 OQRT*47% 47%
1550%68 ADEFL#VALUE!50% ▼Incorrect50%
1639%41 ADL**39% ▼Incorrect39%
1772%55 ADEF72 TB*72% ▲72% ▲
1880%80 L40 O80% ▼80% ▼
1956%71 DGL50 AB56% ▲▼56% ▲▼
Sheet1
Cell Formulas
RangeFormula
E9:E19E9=A9*100&"%"&" "&IFERROR(IF(FIND($B$4,C9),E$1),"")&IFERROR(IF(FIND($C$4,B9),E$2),"")
G9:G19G9=LET(N,ISNUMBER(LEFT(B9,1)*LEFT(C9,1)),TRIM(A9*100&"% "&IF(N*IFERROR(FIND(B$4,C9),0),E$1,"")&IF(N*IFERROR(FIND(C$4,B9),0),E$2,"")))
 
Upvote 0
I'm not sure you interpreted my question correctly. I was asking about those two things on the same row. See my example in row 19 below. I was just wondering if both arrows are possible on the same row.

Anyway, see if this helps.

sksanjeev786_1.xlsm
ABCDEFG
1
2
3Wave 1Wave 2
4BL
5
6
7Output
8
953%#VALUE!53 OPQRSTB*53% ▲Incorrect53%
1045%*45 ORTB*45% ▲Incorrect45%
1149%61 ADEF*49 OPRS*49% 49%
1263%-63 NOPQRSTB*63% ▲Incorrect63%
1361%70 ADEFL*61 KOPQRST*61% ▼61% ▼
1447%59 ADEF*47 OQRT*47% 47%
1550%68 ADEFL#VALUE!50% ▼Incorrect50%
1639%41 ADL**39% ▼Incorrect39%
1772%55 ADEF72 TB*72% ▲72% ▲
1880%80 L40 O80% ▼80% ▼
1956%71 DGL50 AB56% ▲▼56% ▲▼
Sheet1
Cell Formulas
RangeFormula
E9:E19E9=A9*100&"%"&" "&IFERROR(IF(FIND($B$4,C9),E$1),"")&IFERROR(IF(FIND($C$4,B9),E$2),"")
G9:G19G9=LET(N,ISNUMBER(LEFT(B9,1)*LEFT(C9,1)),TRIM(A9*100&"% "&IF(N*IFERROR(FIND(B$4,C9),0),E$1,"")&IF(N*IFERROR(FIND(C$4,B9),0),E$2,"")))


Thank you so much, Peter :)

That works for me and yes last row data letter was typo from my end :)
I have removed the letter and now it is coming correct for me :)

0.5671 DG50 AB56% ▲56% ▲


Once again thank youuuuuuuu so much... Have a nice evening ahead...... :)
 
Upvote 0

Forum statistics

Threads
1,223,993
Messages
6,175,845
Members
452,675
Latest member
duongtruc1610

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