Cell Ref with Formula not returning result in new IF Formula

ejackson37

New Member
Joined
Jan 30, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hi,

If anyone can help with this it would be greatly appreciated.

The excel formula I have created to return today's date in G2 if A2 is between 100-109 is not returning the result even though A2 is 103.

I think this is because A2 is an'=' reference from another sheet.

Does anyone know how to get excel to return result based on a reference from another sheet?

Formula in G2 is: =IF(AND(A2>=100,A2<=109),TODAY(),"")

Formula works if I copy cells and paste values & convert to number but I'd like it to work with reference so I don't have to do this for every report

1675095508475.png
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Welcome to the Board!

It is because your numbers are entered as Text and not number (notice how they are left-justified in the cells? that is usually a dead give-away).

You need to convert those entries to numbers. You can coerce them to numbers by adding "+0" to the end of your reference formula in column A, i.e.
Rich (BB code):
=reference + 0
 
Upvote 1
Solution
Welcome to the Board!

It is because your numbers are entered as Text and not number (notice how they are left-justified in the cells? that is usually a dead give-away).

You need to convert those entries to numbers. You can coerce them to numbers by adding "+0" to the end of your reference formula in column A, i.e.
Rich (BB code):
=reference + 0
Excellent, seems to have fixed it. Thank you very much! Great community
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,684
Members
449,048
Latest member
81jamesacct

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