ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Wildcards in Functions (https://www.excelbanter.com/excel-worksheet-functions/30127-wildcards-functions.html)

Graeme Crook June 10th 05 10:17 AM

Wildcards in Functions
 

Hash - Thanks for this. It is a negative that I was after, and it seems
to be working fine.

Graeme


Wrote:
Graeme -

IF(TRUNC(ABS(G25))-ABS(G25)=-0.25,...

Good Luck, Hash (you sure it's minus .025 that you want?)



In article
,
Graeme Crook
wrote:
-
I am aware that Wildcards can't be used in IF statements, but can't
think of a way round this problem, and would appreciate some help.

The following function works as I want it to:
=SUM(-H25-IF(G25=-0.25,ROUNDDOWN(G25,0),G25))

However, I would like to change the 0.25 to *.25 as any number could
end in the .25, and if it does I want to round it down for the
purposes
of the calculation. The only question is how can this be done, when
wildcards can't be used?!

Thanks,
Graeme-



--
Graeme Crook

[email protected] June 10th 05 10:42 PM

Graeme -

You're welcome, of course. I should have pointed out that
your SUM() wrapper is not needed. Your equation will calculate fine
without it.

....best, Hash


In article ,
Graeme Crook wrote:

Hash - Thanks for this. It is a negative that I was after, and it seems
to be working fine.

Graeme


Wrote:
Graeme -

IF(TRUNC(ABS(G25))-ABS(G25)=-0.25,...

Good Luck, Hash (you sure it's minus .025 that you want?)



In article
,
Graeme Crook
wrote:
-
I am aware that Wildcards can't be used in IF statements, but can't
think of a way round this problem, and would appreciate some help.

The following function works as I want it to:
=SUM(-H25-IF(G25=-0.25,ROUNDDOWN(G25,0),G25))

However, I would like to change the 0.25 to *.25 as any number could
end in the .25, and if it does I want to round it down for the
purposes
of the calculation. The only question is how can this be done, when
wildcards can't be used?!

Thanks,
Graeme-



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

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