ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Getting text or numerical data from the formula (https://www.excelbanter.com/excel-worksheet-functions/446696-getting-text-numerical-data-formula.html)

Bootface

Getting text or numerical data from the formula
 
I have column O which is date format 00/00/0000, column Q which has either the word 'Date' or a numerical figure to 1 decimal place and column I which has a numerical figure to 1 decimal place. I need a formula in column S that looks at Q and if it shows date then it needs to return N/A in the S cell and if it has the numerical figure to 1 decimal place it needs to do the sum Q-I and give the result in the S cell. What should my formula be? Thanks in advance for any help. :-)

Spencer101

Quote:

Originally Posted by Bootface (Post 1604087)
I have column O which is date format 00/00/0000, column Q which has either the word 'Date' or a numerical figure to 1 decimal place and column I which has a numerical figure to 1 decimal place. I need a formula in column S that looks at Q and if it shows date then it needs to return N/A in the S cell and if it has the numerical figure to 1 decimal place it needs to do the sum Q-I and give the result in the S cell. What should my formula be? Thanks in advance for any help. :-)

Please post some dummy data. It makes it far easier to help you.

S.

zvkmpw

Getting text or numerical data from the formula
 

I have column O which is date format 00/00/0000, column Q which has
either the word 'Date' or a numerical figure to 1 decimal place and
column I which has a numerical figure to 1 decimal place. I need
formula in column S that looks at Q and if it shows date then it needs
to return N/A in the S cell and if it has the numerical figure to 1
decimal place it needs to do the sum Q-I and give the result in the
cell. What should my formula be?


If the figures to 1 decimal place are already rounded, maybe this would work:
=IF(ISNUMBER(Q1), Q1-I1, "N/A")
Enter it it S1 and copy downward. If Q1 and I1 aren't rounded yet, apply the appropriate rounding function to them inside the formula.

Apparently, column O plays no role in the calculation.



All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com