Coding a comparison of multiple cells to one

Av8

New Member
Joined
Feb 1, 2021
Messages
6
Office Version
  1. 2016
Platform
  1. MacOS
Hi everyone,

I’ve searched the forum but unable to find an answer so apologies if this has been answered before.

Is it possible to code an IF function where I compare multiple cells in a row to see if any are a certain percentage above one cell, and if so output TRUE?

For example I have cells B to Z with numbers in and if any of those cells are 50% greater than cell A, output equals TRUE.

If this isn’t possible, are there any other ways I could perform a different function to get the same result? I’d like to hard code ideally to copy the function to multiple rows.

Many thanks in advance
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
i would think perhaps using a MAX() across B to Z
=MAX(B2:Z2)
then test that MAX to see if above 50% greater than A
the value in A2 to test - If reading correctly - 50% higher than A would be A2*1.5
So
Max(B2:Z2)>A2*1.5
AND copy down - will show each row

If i have read the requirement correctly
OR is this the whole range ? compared
 
Upvote 0
Thanks for your quick reply etaf. Your suggestion looks like a great solution. I’ll test it and report back.
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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