Need to compare True and False data

sksanjeev786

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

I have data from A to F (taken from Excel) and H to M (taken from a PPT table) and now I would like to compare both the data
so for a few cells i am getting a "False" error though the data are the same, only "+" symbol added in the PPT file )Hto M

and i need all the true from O to T column

Book4
ABCDEFGHIJKLMNOPQRST
34%0.42%4 p5%2.5 r4%0.42%+4.0 p5%+2.5 rTRUETRUETRUEFALSEFALSEFALSE
422%-4.517%7.2 p19%3.122%-4.517%+7.2 p19%3.1TRUETRUETRUEFALSEFALSETRUE
5TRUETRUETRUETRUETRUETRUE
649%0.667%3.668%0.349%0.667%3.668%0.3TRUETRUETRUETRUETRUETRUE
750%465%3.768%0.650%465%3.768%0.6TRUETRUETRUETRUETRUETRUE
85%3.8 p11%0.213%-0.45%+3.8 p11%0.213%-0.4TRUEFALSEFALSETRUETRUETRUE
937%0.656%2.260%0.637%0.656%2.260%0.6TRUETRUETRUETRUETRUETRUE
1042%7.2 r61%3.662%-0.142%+7.2 r61%3.662%-0.1TRUEFALSETRUETRUETRUETRUE
11TRUETRUETRUETRUETRUETRUE
1283%-4.485%3.4 r84%0.783%-4.485%+3.4 r84%0.7TRUETRUETRUEFALSETRUETRUE
1318%1.717%1.222%-4.3 q18%1.717%1.222%-4.3 qTRUETRUETRUETRUETRUETRUE
1462%-371%-0.665%0.262%-371%-0.665%0.2TRUETRUETRUETRUETRUETRUE
1510%2.617%4.3 r22%-0.710%2.617%+4.3 r22%-0.7TRUETRUETRUEFALSETRUETRUE
166%-2.18%-1.59%0.56%-2.18%-1.59%0.5TRUETRUETRUETRUETRUETRUE
Sheet2
Cell Formulas
RangeFormula
O3:O16,Q3:Q16,S3:S16O3=ROUND(A3,2)=H3
P3:P16,R3:R16,T3:T16P3=IFERROR(ROUND(B3,2)=I3,B3=I3)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O3:T16Cellcontains an errortextNO
O3:V16Cell Valuecontains "f"textNO
B3:B16,D3:D16,F3:F16Cell Valuecontains "r"textNO
B3:B16,D3:D16,F3:F16Cell Valuecontains "p"textNO
B3:B16,D3:D16,F3:F16Cell Valuecontains "q"textNO
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try:

Book1
ABCDEFGHIJKLMNOPQRST
30.0378150.40.0236844.0 p0.048142.5 r0.040.40.02+4.0 p5%+2.5 rTRUETRUETRUETRUETRUETRUE
40.218487-4.50.1657897.2 p0.1903723.10.22-4.50.17+7.2 p19%3.1TRUETRUETRUETRUETRUETRUE
5TRUETRUETRUETRUETRUETRUE
60.4873950.60.6657893.60.6827130.30.490.60.673.60.680.3TRUETRUETRUETRUETRUETRUE
70.540.653.70.6761490.60.540.653.70.680.6TRUETRUETRUETRUETRUETRUE
80.0462183.8 p0.1052630.20.131291-0.40.05+3.8 p11%0.20.13-0.4TRUETRUETRUETRUETRUETRUE
90.373950.60.5578952.20.5973740.60.370.60.562.20.60.6TRUETRUETRUETRUETRUETRUE
100.4159667.2 r0.6131583.60.619256-0.10.42+7.2 r0.613.60.62-0.1TRUETRUETRUETRUETRUETRUE
11TRUETRUETRUETRUETRUETRUE
120.827731-4.40.853.4 r0.8446390.70.83-4.40.85+3.4 r0.840.7TRUETRUETRUETRUETRUETRUE
130.1806721.70.1736841.20.21663-4.3 q0.181.70.171.20.22-4.3 qTRUETRUETRUETRUETRUETRUE
140.621849-30.707895-0.60.6455140.20.62-30.71-0.60.650.2TRUETRUETRUETRUETRUETRUE
150.100842.60.1657894.3 r0.218818-0.70.12.60.17+4.3 r0.22-0.7TRUETRUETRUETRUETRUETRUE
160.063025-2.10.078947-1.50.0875270.50.06-2.10.08-1.50.090.5TRUETRUETRUETRUETRUETRUE
Sheet4
Cell Formulas
RangeFormula
O3:T16O3=IFERROR(ROUND(A3,2)=H3,ISNUMBER(SEARCH(A3,H3)))
 
Upvote 0
Solution
Try:

Book1
ABCDEFGHIJKLMNOPQRST
30.0378150.40.0236844.0 p0.048142.5 r0.040.40.02+4.0 p5%+2.5 rTRUETRUETRUETRUETRUETRUE
40.218487-4.50.1657897.2 p0.1903723.10.22-4.50.17+7.2 p19%3.1TRUETRUETRUETRUETRUETRUE
5TRUETRUETRUETRUETRUETRUE
60.4873950.60.6657893.60.6827130.30.490.60.673.60.680.3TRUETRUETRUETRUETRUETRUE
70.540.653.70.6761490.60.540.653.70.680.6TRUETRUETRUETRUETRUETRUE
80.0462183.8 p0.1052630.20.131291-0.40.05+3.8 p11%0.20.13-0.4TRUETRUETRUETRUETRUETRUE
90.373950.60.5578952.20.5973740.60.370.60.562.20.60.6TRUETRUETRUETRUETRUETRUE
100.4159667.2 r0.6131583.60.619256-0.10.42+7.2 r0.613.60.62-0.1TRUETRUETRUETRUETRUETRUE
11TRUETRUETRUETRUETRUETRUE
120.827731-4.40.853.4 r0.8446390.70.83-4.40.85+3.4 r0.840.7TRUETRUETRUETRUETRUETRUE
130.1806721.70.1736841.20.21663-4.3 q0.181.70.171.20.22-4.3 qTRUETRUETRUETRUETRUETRUE
140.621849-30.707895-0.60.6455140.20.62-30.71-0.60.650.2TRUETRUETRUETRUETRUETRUE
150.100842.60.1657894.3 r0.218818-0.70.12.60.17+4.3 r0.22-0.7TRUETRUETRUETRUETRUETRUE
160.063025-2.10.078947-1.50.0875270.50.06-2.10.08-1.50.090.5TRUETRUETRUETRUETRUETRUE
Sheet4
Cell Formulas
RangeFormula
O3:T16O3=IFERROR(ROUND(A3,2)=H3,ISNUMBER(SEARCH(A3,H3)))

thank you so much:):)

For your help on this:)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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