I need a holiday....!!!

Ian Mac

MrExcel MVP
Joined
Feb 20, 2002
Messages
1,174
All, I'm being the slowest person today,

I have a formula:

=IF(LEN(A102)>0,IF(A102+1<=MAX(Listing!B:B),Breakdown!A102+1,""),"")

Which will return a blank IF the number above is <= the max on a sheet AND also return a blank if the one above has no text in.

The formula is so I can extend beyond the range required, so it will fill when the Listings sheet expands.

There's probably a lot of way to do this, the problem I'm having is understanding why:

=IF(or(LEN(A102)>0,A102+1<=MAX(Listing!B:B)),Breakdown!A102+1,"")

doesn't do the same job??
 

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.
Which will return a blank IF the number above is <= the max on a sheet AND also return a blank if the one above has no text in.

IF the number above is <= the max on a sheet AND also return a blank if the one above has no text in.

IF the number above is <= the max
AND
if the one above has no text in.

IF(AND
 
Upvote 0
On 2002-03-28 03:03, Ian Mac wrote:
All, I'm being the slowest person today,

I have a formula:

=IF(LEN(A102)>0,IF(A102+1<=MAX(Listing!B:B),Breakdown!A102+1,""),"")

Which will return a blank IF the number above is <= the max on a sheet AND also return a blank if the one above has no text in.

The formula is so I can extend beyond the range required, so it will fill when the Listings sheet expands.

There's probably a lot of way to do this, the problem I'm having is understanding why:

=IF(or(LEN(A102)>0,A102+1<=MAX(Listing!B:B)),Breakdown!A102+1,"")

doesn't do the same job??

Replace OR by AND. Is that what you're after?
 
Upvote 0
I don't even want to tell you both how utterly stupid I feel!!!!!!!!! :(

deeply ashamed!!!
_________________
Share the wealth!!
Ian Mac
This message was edited by Ian Mac on 2002-03-28 09:09
 
Upvote 0

Forum statistics

Threads
1,214,560
Messages
6,120,222
Members
448,951
Latest member
jennlynn

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