How can I set the criterion 'if the cell is at the right of a specific cell' ?

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
592
Office Version
  1. 365
Platform
  1. Windows
hello!

How can I set the criterion 'if the cell is at the right of a specific cell' ?
Or if the column of the cell is higher than a letter etc?

Thanks!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
You can use the column function to return the column number of the cell the formula is contained in.
For example, try entering this formula in any cell:
=COLUMN()

That should allow you to do whatever it is that you want.
 
Upvote 0
thanks but I am still having problems

this formula puts D121 offsetted by a number
it ignores text cells but it returns some texts that have numbers, which I don't
basically I want to consider anything at the left of D121 as 0,

any hint?


[]=IFERROR(IF(AND(ISNUMBER(OFFSET(D121,0,-($L$6))),(COLUMN(D121))>3),OFFSET(D121,0,-($L$6)),0),0)[]
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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