SUBSTRING in formula
Hi,
Could you please tell me how to use the "substring" function of the formula in transformation? If its syntax is
SUBSTRING( <character string>, <offset>, <length> )
what is offset here? and what does length determine here? in which instances do we use this substring? If I want to put current date in this substring how will i be able to enter it in substring? and how will i able to make an entry of 1 apr or 30 sep for that matter?
Please help me in this regard.
Thanks.
Just do an F1 on Substring Functionality - It gives your clear explanation with an example.
Ex - > /message/4692118#4692118 [original link is broken]
Similar Messages
-
Formula calculation in a variable
hi sir
i have a table name is calculation and it is below as
CAL_ID CARCHAR2(20),
CAL_FORMULA(100);
cal_id cal_formula
CL0001 AMOUNT+(TAX*12%)
CL0002 AMOUNT+(VAT*6%)
AMOUNT, TAX, VAT and SAMOUNT are variable on my form
i m using form 6i and oracle 8i
i m want to calculate SAMOUNT FROM cal_formula MEAN
SAMOUNT := AMOUNT+(TAX*12%) whihc is same as
SAMOUNT := eval(cal_formula)
some time its like formula correspond to CL0001 and some time is CL0002.
they can contain also some other calculation as wellOk this is the program unit (function) used in the Forms module:
FUNCTION calculate_formula ( PC$Formula IN Varchar2 )
RETURN Number
Is
v_curs exec_sql.curstype;
--v_formula Varchar2(200) := '1+23-5';
v_result number;
v_number number;
LC$Formula VARCHAR2(1000) := PC$FORMULA ;
LC$Sub VARCHAR2(300);
LC$Field VARCHAR2(61);
LN$Pos PLS_INTEGER ;
LN$i PLS_INTEGER ;
LB$Ok BOOLEAN := TRUE ;
LN$Cnt PLS_INTEGER := 0 ;
Begin
-- any place-holders to substitute ? --
WHILE LB$Ok LOOP
LN$Pos := INSTR( LC$Formula, ':' ) ;
IF LN$Pos = 0 THEN
LB$Ok := FALSE ;
EXIT ;
END IF ;
LN$i := LN$Pos ;
LC$Sub := '' ;
LOOP
IF SUBSTR( LC$Formula, LN$i, 1 ) = ' ' THEN
LC$Formula := REPLACE( LC$Formula, LC$Sub, Name_In(LC$Sub)) ;
LC$Sub := '' ;
EXIT ;
END IF ;
LC$Sub := LC$Sub || SUBSTR( LC$Formula, LN$i, 1 ) ;
LN$I := LN$I + 1 ;
LN$Cnt := LN$Cnt + 1 ;
EXIT WHEN LN$I > LENGTH(LC$Formula) ;
END LOOP ;
IF LC$Sub IS NOT NULL THEN
LC$Formula := REPLACE( LC$Formula, LC$Sub, Name_In(LC$Sub)) ;
END IF ;
END LOOP;
-- evaluate the operation --
v_curs := Exec_SQL.Open_cursor;
Exec_sql.Parse(v_curs, 'Begin select ' || LC$Formula ||' into :1 from dual ;end;');
Exec_sql.Bind_Variable(v_curs,'1',v_number);
v_result := Exec_SQL.Execute(v_curs);
Exec_SQL.Variable_value(v_curs,'1',v_number);
Return v_number ;
Exception when others then
Declare code number := SQLcode;
errm Varchar2(200) := SQLerrm;
Begin
If code = -306500 then
code := Exec_Sql.Last_Error_Code;
errm := Exec_SQL.Last_Error_Mesg;
End if;
Message('Error '||code||': '||errm);
Raise form_trigger_failure;
End;
End;T1 and T2 are 2 text items that type is number.
Francois -
Hi,
Because of the limitation of the form field help text I've tried to put my function in parts into many form fields, but it always brings me an error. When i put it into a XSL file and import it, it's working fine. How do I create my function in the RTF template???
Thanks
chrissyHi Tim,
I think you will know this code and also what's passed to it, because it's your thread for subscripting in the blog.I've just made a small change for testing it for my purpose.
The pipe is just for showing how it is put in the form field status and help text.
(<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> ) - not in rtf form fields
<xsl:template name="chemical">
<xsl:variable name="this_chemical" select="." />
<xsl:call-template name="chemical_formater"> |
<xsl:with-param name="formula" select="." />
</xsl:call-template>
</xsl:template> |
<xsl:template name="chemical_formater">
<xsl:param name="formula" />
<xsl:variable name="each_char" | select="substring($formula,1,1)" />
<xsl:choose>
<xsl:when test="$each_char='1'">
<fo:inline baseline-shift="super" font-size="75%">
<xsl:value-of select="$each_char" />
</fo:inline>
</xsl:when> |
<xsl:when test="$each_char='2'">
<fo:inline baseline-shift="sub" font-size="75%">
<xsl:value-of select="$each_char" /> |
</fo:inline>
</xsl:when>
<xsl:otherwise>
<fo:inline baseline-shift="normal">
<xsl:value-of select="$each_char" />
</fo:inline>
</xsl:otherwise>
</xsl:choose> |
<xsl:if test="substring-after($formula,$each_char)!=''">
<xsl:call-template name="chemical_formater">
<xsl:with-param name="formula"> |
<xsl:value-of select="substring-after($formula,$each_char)" />
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template> |
(</xsl:stylesheet>) - not in rtf form fields
Thanks
chrissy -
Substring formula problem for Traditional Chinese
Dear all,
I created two InfoObjects (type: character, length: 60)in order to load one field with 100 characters from R/3. I created formula in transfer rule using "Substring" function for each of the two InfoObjects (e.g. Substring(field_name, 0, 60) and Substring(field_name, 60, 40). The data is in Traditional Chinese and both R/3 and BW are Unicode verison. The first InfoObject seems always get less than 60 characters, but the second InfoObject get 40 characters correctly. When I use English data to test, both InfoObjects get correct legnth of data. Does anyone come across this problem before? Thanks a lot.Download CS6 products
Mylenium -
Substring Function in formula builder of transfer rule
Hi Gurus
I want to get the domain name from Email address.
For eg: if the email address is [email protected], i want to display only "yahoo.com" in the report.
For that, shall i use Substring function in transfer rule.
If so, please advice me how i can do this.
Thanks
SansenInstead try using a routine using the SPLIT function...
For example if you want to split the value of the field TEST whose value is [email protected] then try writing a code like below in the transfer routine...
DATA: TEST1(30), TEST2(30) TYPE C.
SPLIT TRAN_STRUCTURE-ZEMAILID AT '@' into TEST1 and TEST2.
RESULT = TEST2.
(value of TEST2 would be yahoo.com)
Hope this helps... -
Syntax and format of a IF statement in formula XPath in a InfoPath field
Good day
I needed assistance with IF statement syntax in a InfoPath field formula.
If Field_1 = null
concat(substring-before(txtComponentNo1, "."), ".", substring-before(field17, "."), ".", substring-after(field17, "."))
Else
concat(substring-before(txtComponentNo1, "."), ".", substring-before(field17, "."), ".", substring-after(field17, ".")+1)
or in Advance XPath
If Field_1 = null
concat(substring-before(../../../my:grpComponent_1/my:grpComponent1/my:txtComponentNo1, "."), ".", substring-before(../../my:field17, "."), ".", substring-after(../../my:field17, "."))
Else
concat(substring-before(../../../my:grpComponent_1/my:grpComponent1/my:txtComponentNo1, "."), ".", substring-before(../../my:field17, "."), ".", substring-after(../../my:field17, ".") + 1)
ThanksHi,
Here is the good explanation of what you are looking for.
http://blogs.msdn.com/b/infopath/archive/2006/11/27/conditional-default-values.aspx
and please check this as well for basic understanding
http://www.bizsupportonline.net/infopath2010/if-else-statements-conditions-rules-infopath-2010.htm
Krishana Kumar http://www.mosstechnet-kk.com -
Member formula error while retrieving in smartview?
I am trying to execute this member formula
IF (@ISMBR(@RELATIVE("SENDER_PROJECT",0)))
IF ("Allocation Pct" <> #Missing)
"Allocation Amount"=("Account_sub1"->"PFL_Projects"->@MEMBER(@SUBSTRING(@NAME(@CURRMBR("Project")),6))*"Allocation Pct");
ELSE
"Allocation Amount"=("Account_sub2"->"PFL_Projects"->@MEMBER(@SUBSTRING(@NAME(@CURRMBR("Project")),6))*(@PRIORS( SKIPMISSING, "Allocation Pct")));
ENDIF;
ENDIF;
When I try to retrieve the data for this formula, I get the following error.
Error(1200370)Error executing formula for [R_Segment Allocation Amount] (line 1): attempt to cross a null member in function [@X]
Is there anything I can modify to not have a null member.
Thanks!!Thanks! You were right I created the a sub hierarchy with the specific members and substring command was set a little wrong, I had one higher value.
I reset it to as shown below and it worked!
@MEMBER(@SUBSTRING(@NAME(@CURRMBR("RETL_H_PROJET")),5)) -
I have a program that has three columns, in the first column it lists numbers 0-10, in the second column I need to get the square root of each number in the first column. How would I get those results. What is the formula for the square root and how would I code it in? Here is my code so far
public class ThreeColumn {
public static void main(String[] args) {
System.out.println("Number \t Square root \t Even/Odd \t \n");
int Ans1 = 0, Ans2 = 0, Ans3 = 0;
for (int i = 0; i <= 10; i++)
System.out.println(Ans1 + "\t" );
Ans1++;
}ThanksHere's something to play around with
import java.text.*;
class Testing
public Testing()
DecimalFormat df = new DecimalFormat("0.00");
String[] header = {"Number", "Sqr Root","Even/Odd"};
String pad = " ";
for(int x = 0; x < header.length; x++) System.out.print(header[x]+" ");
System.out.println("\n========================");
String sqrNum;
String[] evenOdd = {"Even","Odd"};
for(int x = 1; x <= 10; x++)
sqrNum = df.format(Math.sqrt(x));
System.out.println((pad+x).substring(pad.length()-header[0].length()+(""+x).length())+
(pad+sqrNum).substring(pad.length()-header[1].length()+sqrNum.length()-1)+
(pad+evenOdd[x%2]).substring(pad.length()-header[2].length()+evenOdd[x%2].length()-1));
System.exit(0);
public static void main(String[] args){new Testing();}
} -
How to use a parameter field value as a substring in a "like" statement?
Hi all,
I'm trying to use a parameter field in a Record selection formula where the parameter field value would be a substring of the data stored in the field.
My parameter field (SlctResearcher) is constructed as follows:
Type: string
List of Values: static
Value Field: (Reports) RptAuthors
(in Value Options) Allow custom values?: True
{Reports.PubDate} in DateTime (2009, 04, 01, 00, 00, 00) to DateTime (2010, 03, 31, 23, 59, 59) and
{Reports.RptAuthors} like "*{?SlctResearcher}*"
When I hit F5 to generate the data, I get no results (and the parameter prompt field does not even come up...)
If I modify the formula to put a hard-coded string, like
"*Jones*"
after the 'like', I get results (all the reports where "Jones" is a substring in the RptAuthors string.) If I modify the formula to just use the parameter field without the quotes/stars like:
{Reports.PubDate} in DateTime (2009, 04, 01, 00, 00, 00) to DateTime (2010, 03, 31, 23, 59, 59) and
{Reports.RptAuthors} like {?SlctResearcher}
I do get the parameter prompt field, but still no results even if I put in a valid substring value (since it is not searching for a substring anymore...)
How can I do this?
Thanks,
Will1st thing... Make a copy of your report before doing anything!!!
To use a SQL Command, you'll want to open the Database Expert and look at the Current Connections. Expand the data source and the 1st option you see is the Add Command option.
To find the SQL That CR is currently using, choose Database from the menu bar and select Show SQL Query...
You can copy this and paste it directly into the command window. (If you you can write your own SQL you don't need copy CR's, it's just an option.)
You'll also want to take not of any parameters that you have, you'll need to add them the the Parameter List of the command as well... be sure to spell them EXACTLY as they are in the design pane.
Anyway, once the SQL statement is in the Command window you'll be able to alter the WHERE clause to use the wild cards.
For future reference... What type of database are you reporting against???
Jason -
Column Formula with Error in OBIEE 11g
Hello,
On Oracle Business Intelligence Enterprise Edition 11g, I am trying to create an analysis. The database is MySQL. In the database, there is a field of type varchar(10). This
field shows a date. In OBIEE 11g, when creating the analysis, in the Criteria tab, I choose this column (varchar) and edit the formula of it. The operation that I want to do is:
YEAR(CURRENT_DATE) - SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4) where the ColumnName is the name of the column of type varchar(10)
but I get an error: +[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <->: Syntax error [nQSError: 26012]+
If I execute the same query directly on the MySQL database, I get the desired result without any error.
Also, if I use the following formula, I also get an error:
CAST((SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4)) AS INTEGER)
So, I am asking why the first query throws an error in OBIEE 11g but not when it runs directly on the MySQL database. Also, how can I convert in OBIEE 11g a string to integer?
Thank you in advance,
GriseldaBusiness Intelligence Foundation wrote:
Hi
Im getting below error in Bi11g. core application services is down.
Error:
[nQSError: 46066] Operation cancelled.
[nQSError: 46067] Queue has been shut down. No more operations will be accepted.
If anyone Know tell me.
Thanks and Regards
sathyaHi sathya,
It could mean several different things. Do you know if the administrator have shut down the services? If you have access to the server, check to see if all the services are up and running.
Thanks,
-Amith. -
InfoPath Formula in the File Name Field
I used the Now() formula as it shows like this: "2015-04-14T09_35_26". I want to shorten the field name to display it in the list as "DD/MM/YYYY".
I was thinking of the String-length formula but not sure how to do it?
MikeHi Mike,
According to you description, my understanding is that you want to change the formula Now() to display as “DD/MM/YYYY”.
You could use the formula “concat(number(substring(now(), 6, 2)), "/", number(substring(now(), 9, 2)), "/", number(substring(now(), 1, 4)))” instead of Now().
A similar post for your reference:
http://www.infopathdev.com/forums/t/20434.aspx
Best Regards,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Formula column help needed(urgent)
Hi ,
I am using the data template for generating XML data.
BIP provided functions like SUM(), AVG(), COUNT(), MAX(), etc to use as
below
<group name="G_DEPT" source="Q1">
<element name="DEPT_NUMBER" value="DEPTNO" />
<element name="DEPTSAL" value="G_EMP.SALARY" function="SUM()"/>
<group name="G_EMP" source="Q2">
<element name="EMPLOYEE_NUMBER" value="EMPNO" />
<element name="NAME" value="ENAME"/>
<element name="JOB" value="JOB" />
<element name="SALARY" value="SAL"/>
</group>
</group>
but suppose if I want to do a sum like
Sum(ALLdebits - All credits - All refunds).
We use to have formula good old formula column. like in ORACLE Reports...
below is my query in the data template....can someone please suggest?
<dataTemplate name="R007" dataSourceRef="xyz">
<properties>
<property name="include_rowsettag" value="false"/>
<property name="include_rowtag" value="false"/>
<property name="xml_tag_case" value="as_are"/>
</properties>
<parameters include_in_output="false">
<parameter name="DATE_FROM" dataType="varchar2" include_in_output="false"/>
<parameter name="DATE_TO" dataType="varchar2" include_in_output="false"/>
<parameter name="BANK_GIRO_NUMBER" dataType="varchar2" include_in_output="false"/>
</parameters>
<dataQuery>
<sqlstatement name="Q1">
<![CDATA[SELECT
DISTINCT
SYSDATE todayDate
,substr(trim(CR_BG_NO),3,8) creditorBGNumber
,CREDITOR_SHORT_NAME creditorName
,COUNT(*) itemCount
FROM
R00777_REPORT R1
WHERE
R1.TXN_DATE BETWEEN TO_DATE(:DATE_FROM,'YYYY-MM-DD') AND TO_DATE(:DATE_TO,'YYYY-MM-DD') AND
R1.CR_BG_NO = :BANK_GIRO_NUMBER
GROUP BY
substr(trim(CR_BG_NO),3,8)
,CREDITOR_SHORT_NAME]]>
</sqlstatement>
<sqlstatement name="Q2">
<![CDATA[
SELECT
TXN_DATE
,substr(trim(CR_BG_NO),3,8)
,PAYMENT_TYPE
,TXN_SERIAL_NO
,decode(PAYMENT_TYPE,'AGDEBIT_TRANSFER',DR_TXN_AMOUNT,'AG_REFUND',-RE_TXN_AMOUNT,'AGCREDIT_TRANSFER',-CR_TXN_AMOUNT)
SIGN_AMOUNT
FROM
R00777_REPORT R2
WHERE
R2.TXN_DATE BETWEEN TO_DATE(:DATE_FROM,'YYYY-MM-DD') AND TO_DATE(:DATE_TO,'YYYY-MM-DD')
AND R2.CR_BG_NO = :BANK_GIRO_NUMBER
]]>
</sqlstatement>
</dataQuery>
<dataStructure>
<group name="response" source="Q1">
<group name="head" source="Q1">
<element name="itemCount" value="itemCount"/>
<element name="todayDate" value="todayDate"/>
<element name="creditorBGNumber" value="creditorBGNumber"/>
<element name="creditorName" value="creditorName"/>
</group>
<group name="list" source="Q2">
<group name="listItem" source="Q2">
<element name="transactionDate" value="TXN_DATE"/>
<group name="transactions" source="Q2">
<group name="transaction" source="Q2">
<element name="transactionType" value="PAYMENT_TYPE"/>
<element name="serialNumber" value="TXN_SERIAL_NO"/>
<element name="amount" value="SIGN_AMOUNT"/>
</group>
</group>
<element name="netSum" value="transaction.SIGN_AMOUNT" function="SUM()"/>
</group>
</group>
</group>
</dataStructure>
</dataTemplate>Hi Rainer,
Many Thanks for your reply
I had done all the calculations in the report view earlier
and when i accessed it in the data template as follows
<element name="netSum" value="netSum" />
the xml output that i got was like
<R007>
<response>
<head>
<itemCount>8</itemCount>
<todayDate>2009-02-05T15:50:12.000+01:00</todayDate>
<creditorBGNumber>01829209</creditorBGNumber>
<creditorName>ANDROMEDA</creditorName>
</head>
<list>
<listItem>
<transactionDate>2008-09-03T00:00:00.000+02:00</transactionDate>
<netSum>-6647999</netSum>
<transactions>
<transaction>
<transactionType>AGCREDIT_TRANSFER</transactionType>
<serialNumber>5</serialNumber>
<amount>-1687200</amount>
</transaction>
</transactions>
</listItem>
</list>
</response>
</R007>
But the output that i want is something like this
<R007>
<response>
<head>
<itemCount>8</itemCount>
<todayDate>2009-02-05T15:50:12.000+01:00</todayDate>
<creditorBGNumber>01829209</creditorBGNumber>
<creditorName>ANDROMEDA</creditorName>
</head>
<list>
<listItem>
<transactionDate>2008-09-03T00:00:00.000+02:00</transactionDate>
<transactions>
<transaction>
<transactionType>AGCREDIT_TRANSFER</transactionType>
<serialNumber>5</serialNumber>
<amount>-1687200</amount>
</transaction>
</transactions>
<netSum>-6647999</netSum>
</listItem>
</list>
</response>
</R007>
Hence I used the BIP built in template function like this
<element name="netSum" value="transaction.SIGN_AMOUNT" function="SUM()"/>
but the sum() function is adding up all amounts as expexted,I want
the above newsum value as
Sum(AGdebit-AGCREDIT-AG_refund). -
@SUBSTRING function issue
Hi,
I try to put a formula on a member in Hyperion Planning :
*@MEMBER(@SUBSTRING(@NAME(@CURRMBR(Measures)),0,5)) -> @MEMBER(@SUBSTRING(@NAME(@CURRMBR(Measures)),7));*
For example, on the member "205000_DIM", this formula has to return the data on "205000"->"DIM".
But I've got an error message in Essbase : +Error executing formula for [205000_DIM] (line 1): attempt to cross a null member in function [@X]+
When I put "205000"->@MEMBER(@SUBSTRING(@NAME(@CURRMBR(Measures)),7)); => it works !!!!
I do not understand...
Please help !
Thanks a lot.
Virgile.Oups !
I'm dreaming... I thought I tried that...
In Oracle Techical Reference documentation, they say 0 is the first character... So, for me, the sixth character corresponds to 5 in the formula...
But I guess I'm wrong.
Thank you !!
Virgile. -
Problem with Nested loop in Fox-Formula
Dear Experts,
Let s share the scenario :
MaterialGroups with following Keys for Example AAAA, BBBB, CCCC..., Materialgroups are selected in the 1st input ready query, which is assigned to DataProvider DP_1 in a webtemplate.
every Materialgroup has several Materials, for instance:
Materialgroup AAAA has following Materials: AAAA10, AAAA11, AAAA12, AAAA13...
Materials are selected in a second input ready Query, which is assigned to a second DataProvider DP_2 in the Same Webtemplate as the query 1.
Both Materialgroup and Material are based on the same Aggreagtion level and same real time cube.
I want to copy the input values for every MaterialGroup ( 1st query, DP_1) only to it s own Materials (2cond Query, DP_2).
To resolve this Issue i wrote the following Fox Formula code with a nested loop, however it does not work properly. when I m debugging the code, i could release that the second Loop was ignored.but wehn i replace the second loop (nested loop) with a fixed value it s seems to work properly
DATA MG1 TYPE MATG.<------ MaterialGroup
DATA MT1 TYPE MAT.<----
Material
DATA S1 TYPE STRING.
DATA S2 TYPE STRING.
DATA S3 TYPE STRING
DATA K TYPE F.
DATA Z TYPE F.
FOREACH MG1.
To check Materialgroup in debugger
S1= MG1.
BREAK-POINT.
K = {KEYfIG, #, MG1}.
BREAK-POINT.
FOREACH MT1. <----- if i set MT1 to a fixed value like AAAA11 then S3 get the wished value namely AAAA
S2 = MT1.
BREAK-POINT.
S3 = SUBSTR (MT1, 0, 4).
BREAK-POINT.
IF S1 = S3.
{KEYFIG, MT1, #} = K.
following Statement is only used To check in debugger if Material has become the same Materialgroup value
Z = {KEYFIG, MT1, #}.
BREAK-POINT.
ENDIF.
ENDFOR.
ENDFOR.
Thakns for any help
Frank
Edited by: FRYYYBM on Mar 17, 2011 10:54 PM
Edited by: FRYYYBM on Mar 17, 2011 11:06 PMHi,
Please try this way.
DATA MG1 TYPE MATG.<------ MaterialGroup
DATA MT1 TYPE MAT.<----
Material
DATA S1 TYPE STRING.
DATA S2 TYPE STRING.
DATA S3 TYPE STRING
DATA K TYPE F.
DATA Z TYPE F.
FOREACH MT1.
FOREACH MG1.
To check Materialgroup in debugger
S1= MG1.
BREAK-POINT.
K = {KEYfIG, #, MG1}.
BREAK-POINT.
FOREACH MT1. <----- if i set MT1 to a fixed value like AAAA11 then S3 get the wished value namely AAAA
S2 = MT1.
BREAK-POINT.
S3 = SUBSTR (MT1, 0, 4).
BREAK-POINT.
IF S1 = S3.
{KEYFIG, MT1, #} = K.
following Statement is only used To check in debugger if Material has become the same Materialgroup value
Z = {KEYFIG, MT1, #}.
BREAK-POINT.
ENDIF.
ENDFOR.
ENDFOR.
ENDFOR.
Thanks.
With regards,
Anand Kumar -
Compare two strings in a formula
Hi,
I'd like to know if there's a way to compare two strings in a formula ?
I have this consition:
IF(@SUBSTRING(@NAME(@CURRMBR(TIME_FROM)),5)==@NAME(@CURRMBR(TIME)))
But the == operator can only compare two data.
Thanks,
CyrilHi,
thank you both for your answers.
When I figured that the == operator was for data only, I didn't even try to compare member names.
I finally used the solution that Cameron suggested in another conversation. I created a date measure, and loaded some data since the beginning of my time to the end.
It starts in 1974 (annually), then becomes monthly data, and then daily data from 2009, so it's not so many blocks to br created. In the end I have the same value for "from 2008"/"from Apr 30", and I can easily compare my dates.
Note that I could have also used the @TODATE function, which turns a date into a number, but the format of date is limited and doesn't fit the format of my member names, so I got lasy... and I'm not sure my users would have apreciated that ;)
Thanks, this post is solved.
Cyril
Maybe you are looking for
-
In mail, how do I attach pictures or documents as icons that open full size
in mail, how do I attach pictures or documents as icons that will open full size?
-
Photoshop Elements 9 and Adobe Camera RAW 6.6
My Significant Other just purchased a Nikon 1 V1 camera. I have an extra copy of Elements 9 that I can install on her computer. According to the Release Notes, support for the Nikon 1 V1 started with ACR 6.6. According to the same Release Notes, ACR
-
How to resolve conflict in ID Communication channel
Hi Experts , I am getting conflict while importing a communication channel in QA . Basically we have done a change in Interface determiantion in dev system to get this change refelcted iin QA instead of transporting only interface determination whol
-
Error message No Cinema 4d installation
Using AE CC, on trying to run C4D via the "edit orginal" command I get: aegp plugin CINEWARE Scene Layer: No Cinema 4d installation found 5027::12. It's on a Windows 7 64 installation. The AE programme works fine and there does seems to be a C4D prog
-
Best way to color multiple groups in CS3
I provide resources for other designers to purchase to help them create certain old print style effects. The problem with this is that I need to make sure that it works in older versions of Photoshop. The problem I'm having with CS3 and CS4 is colori