Excel Help Pleaseeeeeeeee

xxsindyxx

New Member
Joined
Jun 7, 2011
Messages
2
OK here goes Im trying to pull data through form one excel worksheetsheet to another using the analysis below

=IF(AND(Data!D2>=Data!$B2,Data!D2<=Data!$C2),1,0)

However some cells in my data sheet are empty with no information in them so i would like to tell the formula to also leave blank cell if blank on data sheet. Hoping this makes sense to an excel expert!
icon_biggrin.gif

<!-- / message -->
<HR style="COLOR: #ffffff" SIZE=1><TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"><TBODY><TR><TD vAlign=center align=left></TD><TD height=40 vAlign=center align=right></TD></TR></TBODY></TABLE>
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Sindy and welcome to the board.
You can try:
=IF(AND(Data!D2>="",Data!D2=""),"",IF(AND(Data!D2>=Data!$B2,Data!D2<=Data!$C2),1,0))

but this is just one of many possibilities.
 
Upvote 0
Oh My Gosh, Im absolutely delighted, It worked!!! Ive spent so many weeks on trying to figure this out! Thank you so much this is very much appreciated. :)
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
Members
452,939
Latest member
WCrawford

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