Need formula help - how do i fin duplicates in a list
I have a list of text data and want to remove duplicates. I think I know how to do it... but I've done a fair bit of searching here and elsewhere and just don't understand how to set it up.
I assume I should use the Countif function... and then compare the each cell to the entire list to determine if it is unique. Then I get a 1 or 0 result based on whether the data element recurs in the list.
Problem is the setup and syntax.... I've done a very very little bit of this but don't have a good handle... searching to this point (user guides and forums) I haven't found answer... I know the answer is out there, but I need to get solution as quickly as possible.
any help greatly appreciated.
Thanks
darren
Oh - number 09 on 10.5.8
dnim wrote:
I have a list of text data and want to remove duplicates. I think I know how to do it... but I've done a fair bit of searching here and elsewhere and just don't understand how to set it up.
I assume I should use the Countif function... and then compare the each cell to the entire list to determine if it is unique. Then I get a 1 or 0 result based on whether the data element recurs in the list.
COUNTIF($A,A) by itself will give you a 1 if the cell contents are unique within the list, and a larger number if there are duplicates.
=IF(COUNTIF($A$1:$A2,$A2)>1,"XXXXX","")
Will leave cells in rows containing the first occurrence of a particular value in a list 'blank'* and mark rows containing subsequent occurrences of the same value with XXXXX (or whatever text is placed between the quotation marks at that position in the formula.
Results of the second formula (in column C) may be isolated using the "Show rows that match the following" in the Reorganize dialogue, and setting the condition to "Column C" is not blank
Oh - number 09 on 10.5.8
Looks like your profile needs to be updated—currently says 10.5.5.
Regards,
Barry
Similar Messages
-
my ipad is locked after entring wrong pasword more than 10 times and i did not back up my ipad. now my device is not able be conncted with i tunes to restore or update, i need a help how can i unlock it?
You have to restore the iPad by syncing to the original computer that you synced to.
This article explains the process.
http://support.apple.com/kb/ht1212 -
I Need Your Help With My IPod Touch 4 I Would Like To Have Music To Listen To&I Would Like To Know How To Get Internet For My Apple IPod Touch 4 So I Can Have Music To Listen To.Thank You,Donna Spinner
Connect to your home wi-fi network.
Click Support at the top of this page, then click Manuals.
Select the ipod touch manual. -
Dear all:
Sorry for so long title.
I need your help with how to drag the objects and drop onto the front panel.
Like the LabVIEW front platte, i can choose the objects i can drop onto every where of the front panel.
Could drag and drop function can satify?
Any idea?
Thank you
Attachments:
Image00000.jpg 75 KBWhat you want to do is relatively complicated and it seems that your knowledge of LabVIEW is relatively basic. I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world! -
Need formula help - "lookup" or something similar
Here is my scenerio: 2 Numbers' spreadsheets within a single file. One spreadsheet is strictly for data - behind the scenes stuff. It contains a long list of items and prices associated with them (per unit). Then I have a spreadsheet that will pull information from that data spreadsheet. For example, if I start typing latex it will finish automatically with latex paint. I press enter and it inputs that price. From here, I can do all the calculations.
Example:
Row 1 Row 2
Latex Paint .45
Metal stud 10.00scolainsola,
Perhaps this example will help. The first lines of the "Particular List" contain a copy of all the data items (colored yellow and hidden in use) so that the autofill feature will work as you described. Then as items are typed in the second table, corresponding values from the "Data" table will appear when the Enter key is struck.
The formula for column B of the second table is:
=IF(ISBLANK(A7),"",IFERROR(VLOOKUP(A7,Data :: $A$2:$B$6,2,0),"Not Listed"))
and is enter beginning with the first typed-in Item, then copied down. This scenario presents a good situation for the use of IFERROR.
If your list is very large, you may find it desirable to eliminate the the orange rows and build your autofill list as you go.
pw -
Recently purchased my first Apple product (ipod touch) and am needing to know how to transfer music from other ipods and other itunes accounts. Can this be done? I have plugged in another ipod into my new itunes account and it will not let me transfer the music that it contains into my new account. Any/all help is much appreciated. Thank you!I have no music in my itunes account yet. I am trying to transfer music from friends' accounts and their ipods/playlists.
-
Need urgent help how show my placeholder column in my report
hi master
sir
i use report 6i
i am making report with useing emp table i report i need one formula column and one placeholder column i
first i mad report by useing report wizard
after this i go in data modul and select one placeholder column and one formula column i write pl/sql
:cp_1 := :sal;
again run wizard and move
placeholder column and one formula column
in display item
but when i run the report give me this error
rep-1517 column 'cf_1' reffrence column 'sal' which is incompatible frequency
please give me idea how i print my formula result in report
thanking you
aamir
how show placeholder column in my reportHi,
First create a formula column eg CF_1.
Then create a placeholder column eg CP_1.
Write a code in CF_1.
[eg
select bolFrValid into :CP_1 from tablename where condition;
return :CP_1;
Hope u got it -
Need a help: how to recover using backup control file?
Please a help:
First computer
1. I create a database
2. put it in archive mode,
3. shutdown and made a cold backup
4. Created backup control file (alter database backup control file to trace)
5. I started up and created some archived log files.
Second Computer
1. I copied all files created in the step 3 above except the control file
2. I create all the same map directory on the 2nd computer as in the 1st computer
3. I recreate the control file from the script got in the step 4 above
4. I Copy archived log files generated at the step 5 in the local directory in the second computer
5. I set the logsource and set the autorecovery to on
6. I recover the database: RECOVER DATABASE USING BACKUP CONTROL FILE UNTIL CANCEL
Error got:
the archived log file applied do not go beyond the first one?,How could I do to applied all archived log files copied from the first computer to the second computer to have the same data?
Thank you very mucharchived log sequeces in the first computerSQL> select sequence#,first_change#,next_change# from v$log_history;
SEQUENCE# FIRST_CHANGE# NEXT_CHANGE#
1 553723 555484
2 555484 557345
Actions I did in the second Computer(after copied the former two archived log files from the 1st computer)
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M,
9 GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M,
10 GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M
11 -- STANDBY LOGFILE
12 DATAFILE
13 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
14 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
15 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
16 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
17 CHARACTER SET WE8ISO8859P1
18 ;
Control file created.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 0
Next log sequence to archive 0
Current log sequence 0
SQL> alter database archivelog;
Database altered.
SQL> set logsource C:\local_destination1_orcl
SQL> set autorecovery on;
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 555611 generated at 01/18/2007 14:14:14 needed for thread 1
ORA-00289: suggestion :
C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC
ORA-00280: change 555611 for thread 1 is in sequence #1
ORA-00328: archived log ends at change 555483, need later change 555611
ORA-00334: archived log:
'C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC'
Idon't know where the change 555611 is coming from? -
Need some help how to generate xml from java bean.
Hi,
Can some one help me how to generate the xml format output from a java bean.
The bean contains around 15 to 20 attribute values.
Thanks in Advance.
sarayuYou can use XMLEncoder with custom persistence delegates if needed:
http://java.sun.com/products/jfc/tsc/articles/persistence4/ -
Need urgent help: how to avoid concurrent calls on statefull session beans
Hi,
I need a little advice in designing a EJB session facade using JSPs, servlets, session and
entity beans.
My current design is:
- JSP pages: here are only getMethods for the session bean used. All set-methods are handled by a
- servlet: I have got one servlet handling several JSP pages. The servlet basically takes the
form fields and stores them in the session bean and than dispatches to the next JSP-page
- stateful session bean: here is, where all the business logic is conducted. There is one session
bean per servlet using several
- CMP entity beans: to talk to the database (Oracle 8i)
The application server is JBoss 3.0.3.
My problem is, if a user clicks on a submit button of a JSP page more than once before the next
page builds up, I may get a "javax.ejb.EJBException: Application Error: no concurrent calls on
stateful beans" error. I already synchronized (by the "session") the code in the servlet, but
it happens in the JSP pages as well.
I know, that Weblogic is able to handle concurrent calls, by JBoss isn't and it's clearly stated
in the spec, that a user should avoid to have concurrent calls to a stateful bean.
The big question is now: How can I avoid this? How can I prohibit the user to submit a form several
times or to ignore anything, which arrives after the first submit?
Thanks for any help,
Thorsten.Synchronizing on the session is probably your best bet.
You'll need to do all the data access and manipulation in the servlet. Cache any data you need using request.setAttribute() and then not access the EJB on the JSP page.
If performance is an issue, you may also want to use create a user transaction to wrap all the EJB access in, otherwise each EJB call from the servlet is a new transaction. Just make sure you use a finally block to properly commit/rollback the transaction before you redirect to the JSP.
UserTransaction utx = null;
synchronized (request.getSession())
try {
Context ctx = new InitialContext();
utx = (UserTransaction) ctx.lookup("javax/transaction/UserTransaction");
utx.begin();
// ... Create session bean ...
request.setAttribute("mydata", sessionBean.getMyData());
try {
utx.commit();
catch (Exception ex) {
log.warn("Transaction Rolled Back (" + ex.getClass().getName() + "): "
+ ex.getMessage(), ex);
utx = null;
} // try
finally {
if(utx != null)
try {
utx.rollback();
catch (Exception e) {
log.warn(e.getMessage(), e);
} // catch
} // if
} // finally
} // syncrhonized(session) -
Need urgent help - how to call a procedure from sql returning a rowset
Hello,
I need to send a SQL Query from a VB application to let it execute on the oracle DB. This query needs to call a procedure/function, which returns a resultsets, so that i can to a (Where x in ( <call procedure> )). Would result in Where x in (50,100,3094).
Is this possible in oracle, and how?
Thanks.
Daniel MeyerHi Daniel,
I had a similiar problem yesterday.
Thanks to the nice people in this forum I was able to figured that out.
So here is a PL/SQL Oracle 9i code for your reference.
You can create and test it using the SQL Plus console.
I used this stored procedure in my VB .NET and worked fine!
I am enclosing the VB code in this reply as well.
One last note: in order to test it in the VS .NET, don't forget to download the Oracle ODP driver for .NET
Good luck!
Amintas
create or replace package pkg_emp
AS
type rc_emp is ref cursor;
end;
create or replace
procedure SP_GetEmpData(v_empno IN emp.empno%Type,
v_ename IN emp.ename%Type,
emp_cur OUT pkg_emp.rc_emp)
is
begin
if v_empno is not null and v_ename is null then
OPEN emp_cur for
select empno,ename,sal
from emp
where empno=v_empno;
elsif v_ename is not null and v_empno is null then
OPEN emp_cur for
select empno,ename,sal
from emp
where ename like v_ename ||'%';
end if;
end;
/* Testing the stored procedure */
/*#1 */
var myresultset refcursor;
execute SP_GetEmpData(7900,null,:myresultset);
print myresultset;
/*#2 */
var myresultset refcursor;
execute SP_GetEmpData(null,'A',:myresultset);
print myresultset;
-x-x-x-x-x-x-x-x-x VB .NET CODE x-x-x-x-x-x-x-xx-x-
Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnProcurar.Click
Dim dr As Oracle.DataAccess.Client.OracleDataReader
Try
If txtEmpNo.Text <> "" Then
dr = GetData(CInt(Val(txtEmpNo.Text)), "")
Else
dr = GetData(0, UCase(txtEname.Text))
End If
txtEmpNo.Text = ""
txtEname.Text = ""
Catch ex As Exception
Response.Write(ex)
End Try
drgTest.DataSource = dr
drgTest.DataBind()
End Sub
Private Function GetData(ByVal v_empno As Integer, ByVal v_ename As String) As Oracle.DataAccess.Client.OracleDataReader
Dim cn As New Oracle.DataAccess.Client.OracleConnection(ConfigurationSettings.AppSettings("ConnectionString"))
Dim cmd As New Oracle.DataAccess.Client.OracleCommand
Dim dr As Oracle.DataAccess.Client.OracleDataReader
cmd.Connection = cn
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText = "SP_GetEmpData"
cmd.Parameters.Add("v_empno", Oracle.DataAccess.Client.OracleDbType.Int32).Value = IIf(v_empno = 0, System.DBNull.Value, v_empno)
cmd.Parameters.Add("v_ename", Oracle.DataAccess.Client.OracleDbType.Varchar2, 40).Value = IIf(v_ename = "", System.DBNull.Value, v_ename)
cmd.Parameters.Add("rc_emp", Oracle.DataAccess.Client.OracleDbType.RefCursor).Direction = ParameterDirection.Output
Try
cn.Open()
dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
Catch ex As Exception
Throw ex
Exit Function
End Try
Return dr
End Function -
Need Your help how to: "Install APEX"
Can you help me and show me by details how can I install the oracle application express in my PC ?
Thank you very much.Can someone help me as i'm trying to upgrade into apex 3.0.1
The standard install went OK but the next step failed, which is to run this:
@apex_home/apex/apxldimg.sql APEX_HOME
ERROR at line 1:
ORA-22280: file or LOB operation FILEOPEN failed
The system cannot find the path specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 15
is there a way to fix this??? when i run apex, it doesn't load properly. images for objects are missing and its not loading any page definition.
please help. thanks. -
I need your help how to create service plan using programm
Hello everybody
I met some difficulities when writing a programm which is used to create service plan.
I used the function module 'crm_order_maintain'.
Can you tell me how to set the parameters:
IT_SERVICEPLAN_I
IT_SERVICEPLAN_IE
The two parameters is used as cycle data.
I'm waiting for your help.
If you have any idea,please apply to my message .Thank you very much. ^ ^Hi,
I think there is standard way of creating service plans using actions..
The standard method used is CREATE_ORDER_SRVPLAN.
Regards,
PePe -
Need formula help for searching sheet
Hi
I have a numbers document that contains
Sheet 10-1
Sheet 10-2
Sheet 10-3
Sheet 10-4
Each of these sheets contains three columns.
Column one has a clientnumber and column two has a projectnum.
Column three contains a reference to a particular place.
I would like to have a specific sheet that where one can search the other sheets for a projectnumber and return the reference in the third column for that particular projectnum.
I can do this in one sheet but I am unable to figure out how to search mutliple sheets.
Thanks for any inputHi c'
You wrote:
I have used the following formula to search from Searchsheet in sheet 1111-1
=LOOKFOR(A1;'Låda 1111-1' :: Uppdragsnr;'Låda 1111-1' :: Låda nr)
(its called LETAUPP in Swedish, som I'm guessing the english equivalent is LOOKFOR).
From the syntax, the English equivalent appears to be LOOKUP(search-for;search-where;result-values)
Numbers supports three similar LOOKUP functions, LOOKUP, VLOOKUP and HLOOKUP.
I'm guessing the Swedish function names for the other two are going to be VLETAUPP and HLETAUPP.
VLOOKUP and HLOOKUP are able to find a "close match", or can be set to accept only an "exact match". LOOKUP cannot be set to demand an exact match, and will accept "the largest value less than or equal to the search value"
"exact-match" is useful in that it can generate an error message which can be used to pass the search on to the next table.
Here's an example of the difference in results of LOOKUP and VLOOKUP, using your project numbers. Description below.
Data table at the left. Search tables in the center and at right.
B2 of the center table contains =LOOKUP(A2,Table 1 :: B,Table 1 :: C)
- filled down to B6.
Note the result for 934, a value not included on the data table.
'Can't find' errors are returned for the empty cells in rows 5 and 6.
B7 and below contain a revised formula: =IFERROR(LOOKUP(A7,Table 1 :: B,Table 1 :: C),"not found")
This traps the error in row 10, but does nothing to intercept the wrong result in row 8 (934).
The second result table uses VLOOKUP, set to require an exact match.
B2, filled down to B6: =VLOOKUP(A2,Table 1 :: B:C,2,FALSE) -"FALSE" is the argument to force an exact match.
934 now correctly returns a "can't find" error, as do the empty search for values in rows 5 and 6.
B7 and below use IFERROR to trap the errors:
=IFERROR(VLOOKUP(A7,Table 1 :: B:C,2,FALSE),"not found")
In my earlier post, the "can't find" error trap was used to trigger a search of the next table (and in the last search, was used to produce the "not found" message.
Because I also didn't want a "not found" message to appear when no search value had been entered, I added an IF statement:
IF(search-for has an entry,do the search,show a 'blank' cell).
Regards,
Barry -
(Need Help) how to clear the recently opened file list on Flash Player 11?
excuse me pals, may i ask how to clear recently opened file list under "File" tab on Flash Player 11 (the standalone player) ? i've tried to browse my registry but i can't find the solution (and i can't find the .mru files containg the list). my OS is Windows 7 32bit, i hope i can find solution here
I found it in the Windows registry under HKCU\Software\Macromedia\FlashPlayer
Maybe you are looking for
-
Down payment processed by F110 is blocked
We would like to make a down payment on a purchase order. I entered the payment request with transaction F-47 and the special G/L sign. Then i run the automatic payment program F110 and the item gets paid. The payment program generates a posting with
-
Suspend not working on HP dv-5t
I have a HP dv5-t laptop with an NVIDIA graphis card and I can't get suspend or hibernate to work. When I run pm-suspend with gnome running, the screen flashes off then tuns back on to a black screen. If I close gnome and unload the nvidia module and
-
Poor graphics redraw when scrolling Word documents
I have a strange blurring effect when scrolling Word documents on my Macbook pro, as if the graphic card had trouble refreshing: the screen is interspersed by horizontal irregular lines that make it impossible to read the text. I have recently replac
-
I have contracts that I'd like to be able to view on my Touch. Is there any way to email them to myself then save them somewhere on the touch outside of email? I could read them in email but when I'm at a place with no wifi, would I still be able to
-
You really cannot print from iPad or iPhone apps!
You cannot really print from iPad or iPhone apps! And that is not good! Of course you can print from web and email on the iPad! But why not from the apps. Why not. This is nonsense!