Formula help

deuce

Active Member
Joined
Oct 6, 2006
Messages
346
Office Version
  1. 2007
Hi, :)


I'm looking for help with the Below formula.

(IF(AND(K3>=D$41,K3<=E$41), AZ$2,"") Formula has to be dragged all the way to the right hand side as far as right goes, and down about 50000 cells. For the time being I had to do each cell manually, including visual error checking and it's like ?

Thanks in advance and I appreciate the help :)
 
Ok, then use the solution in post #2
The only way macros will cause problems, is if they are written incorrectly....OR put in the wrong location !
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
hi i was very exhausted and ended up falling asleep. The main point is to drag the formula across and down so the rows would change accordingly.
 
Upvote 0
Both the formula method AND the VBA solution will do that !!
As mentioned perviously did you try either of them on a small range of cells to make sure you get the desired result ?
 
Upvote 0
You do realise that the formula you provided has Absolute references ( $ signs)
Excel Formula:
=IF(AND(K3>=$D$41,K3<=$E$41), AZ$2,"")
which means that $D$41 and $E$41 will ALWAYS refer to that cell no matter which way you drag it !!
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,472
Members
449,087
Latest member
RExcelSearch

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