Removing Last Word in Columns in Numbers '09

I've got a column full of names. Some names are multiple words, like, "Bob & Nancy Smith", while others are 2 words, first and last name. I just want to remove the final word, the last name, in each cell. Formulas I've found on this forum only apply if there are 2 words. Can you help me??
Message was edited by: phillipsler

EDIT: I took "remove" as meaning you wanted the last name, not that you wanted the last name gone. Rereading your post I think I got that backwards.
I can think of a brute force method which requires a few columns. You can reduce it to fewer columns by combining formulas together. Or maybe someone else has a more elegant approach
Column B = the names
Column C = 0 (zero)
Column D =IFERROR(FIND(" ",$B,C+1),"")
Drag-fill or copy/paste D into columns E-J
K2 =COUNT(D2:J2) drag-fill to the rest of the column
Column L =OFFSET(C,0,K)
Column M =RIGHT(B,LEN(B)-L)
Columns D through J locate all the spaces. K and L together find the position of the last space in the string. M returns everything to the right of that last space. You can combine K through M into one formula but I don't know of a more elegant way to find the last space than by finding each one, one at a time.
There are, I'm sure, other ways than this to do the same basic thing but the ones I can think of also require multiple columns.
Message was edited by: Badunit
Message was edited by: Badunit

Similar Messages

  • Does the Class Word always have to be the last word in column name? What about Units?

    Sometimes we are required to store both a US and a metric column in the same table.  Is it ok to use the unit type as a suffix to the class word like AreaSqMi and AreaSqkm in the case of watersheds which cross both the US and Canadian borders?
    Before everyone jumps on me let me explain.  The software environment we are using is from ESRI's (Geographic Information System) for displaying maps.  The popups for displaying attribute data can only display existing columns so no derived columns.

    Use columns standarts
    http://www.codeproject.com/Articles/22947/A-Naming-Scheme-for-Database-Tables-and-Fields
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Sql query to find the last word in a sentence (column)

    Hi,
    I have to retrieve the last word in a column containing varchar2(text) values.
    If anyone knows the query for this kindly share with me.

    There's also the option of regular expressions in 10g onwards...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 'oracle forums is the best resource for oracle intelligence' as l from dual)
      2  select regexp_replace(l, '[[:print:]]* ([^ ]*)$','\1') as l
      3* from t
    SQL> /
    L
    intelligence
    SQL>

  • HT202905 applescript to remove certain columns in numbers version 3.5.x?

    How do I tell applescript to remove certain columns in numbers version 3.5.x?

    Via something like:
    tell application "Numbers"
      delete column 2 of table 1 of sheet 1 of document 1
    end tell
    To effectively AppleScript Numbers.app you need to understand its hierarchy - that is, documents contain a number of worksheets. Each worksheet has a number of tables (could be 1, could be many) and therefore you need to provide a complete reference to identify the column you want to delete.

  • Need to remove LAST NAME only in merged letter

    Here's my quandry. Client supplied a mail list with full name in column one. It's okay for the addressing portion, but in the salutation she wants to remove just the last name. I already merged my 2900 name list.
    So I have:
    Mary and John Smith
    123 Main St.
    Your Town, State Zip
    Dear Mary and John Smith,
    Then body of letter.
    I would need a way to search for any space and word before the comma and return in this one line only. Remove the space and last name so the comma slides over after John. I don't want to strip out any other words before a comma. I checked and I believe no line in the letter has a hard return following a comma.
    Doable? If so, how?

    Or you could search for \s[\l\u|\-]+(,)$ and replace with $1 to remove the last name and leave the comma next to the last word in the first name. this must be done as a find/change rather than a GREP style.
    Colin's method is nice in it can be a style, but it leaves "space" between the last visible name and the comma because the text is still present. Colin "escaped" the comma in his version, too, but is seems to make no difference in my test.

  • 'Last Used On' column in Programs & Features (appwiz.cpl) not showing information for any installed apps

    Running Windows 7 Premium 64 bit
    steps to reproduce.  type appwiz.cpl in search window to open Programs & Features window
    change your view to 'details' (detailed view)
    right click on column headers & click 'More...', scroll down & add 'Last Used On' column to view
    no installed apps have a 'Last Used On' value

    Same here. The Last Used On column itself isn't enabled by default. Perhaps Microsoft dropped the feature for performance.
    <quoting Raymond Chen [MS]>
    In order to get the "Last Used" and "Frequency" values, Add/Remove Programs needs to know the name of the EXE so it can ask the Start menu "Hey, how often did the user run this program, and when was the last time it happened?"
    Notice that there are no clues in the registration above as to the identity of this EXE file.
    So Add/Remove Programs starts guessing. It goes through all the programs on your Start menu and compares their names with the display name of the uninstallable item. It looks for Start menu items which share at least two words with the words in the DisplayName.
    For example, if there were a Start menu item called "Pretty Decent Windows Program", this would count as a two-word match ("Windows" and "Program").
    It then takes the one with the most matches and decides, "Okay, I guess this is it." Suppose for the sake of illustration that the best match is indeed "Pretty Decent Windows Program.lnk", which is a shortcut to "C:\Program Files\LitWare\Decent Program\Decent.exe". Add/Remove Programs would decide that "Awesome Program for Windows" should get the icon for "Pretty Decent Windows Program.lnk", that the frequency of use and most-recently-used information for "C:\Program Files\LitWare\Decent Program\Decent.exe" will be displayed for "Awesome Program for Windows".
    </quote>
    It's nice that MS has dropped this feature in Windows 7.
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • Separate addresses into different columns in numbers

    I am migrating some customer data from Front Desk into Infusionsoft.  Front Desk has exported the addresses into a single column but I need the addresses separated into 4 separate columns: Street Address, City, State, Zip Code.  How can I accomplish this?

    I see the problem.  That's not so easy because the addresses are not uniform. Some have a comma between address and city, and some have a linefeed.
    If you are using Numbers 3 then the script below should help.  To use it:
    Copy-paste the script into Script Editor (in Applications > Utilities)
    Select the cells in the column with the addresses you want to split
    With the cells selected click the "run" button in Script Editor, and wait for the notification to paste.
    Click once in the top-left cell of the range where you want to paste the values.
    Type command-v to paste.
    If all goes well, you should get something like this:
    If you have zip codes with leading zeros, first format that column as text before pasting the results from the script.
    It's better to not have blank rows in the middle of the data, but the script may be able to handle that gracefully.
    If you have problems, post a screenshot of results and some adjustments to the script should do the trick.  This works in Numbers 3. If you're still using Numbers  2, then the script will need modification.
    SG
    tell application "Numbers"
      tell document 1's active sheet
      tell (first table whose selection range's class is range)
      tell selection range
      set pasteStr to ""
      repeat with c in cells
      set v to c's value
      set pasteStr to pasteStr & my parseAddress(v)
      end repeat
      end tell
      end tell
      end tell
    end tell
    set the clipboard to pasteStr
    display notification "Click a cell once and command-v to paste"
    to parseAddress(s)
      try
      set zip to s's word -1 -- last "word"
      set state to s's word -2 -- second to last word
      set AppleScript's text item delimiters to {",", linefeed}
      set sParts to s's text items
      if sParts's length = 3 then
      set street to sParts's item 1
      set city to sParts's item 2
      else
      set street to sParts's item 1 & " " & sParts's item 2
      set city to sParts's item 3
      end if
      set AppleScript's text item delimiters to ""
      return street & tab & city & tab & state & tab & zip & return
      on error
      return return -- a "blank" for that line
      end try
    end parseAddress

  • How can I read a column of numbers saved as .txt and display as a wave?

    Hi Tiano
    LabVIEW General
    Ask:
    Please enter a one-line summary of your question
    Resources
    • Technical Support
    • Development Library
    • Measurement Encyclopedia
    "data/time reading into chart"
    "In the attached file, I am trying to read the first column of data, and the next column is the value on the x-axis I want it plotted at. How do I read two columns of different data? I have looked in the books I have access to and the help within Labview but am still having trouble.
    Thank you,
    Ellie"
    data_set (Plain Text, 3K)
    -posted by Ellie on 9/11/2001
    markwysong on 9/11/2001 answered:
    "Ellie,
    The first thing you need to do is to read your file in as a spreadsheet file. Then, you display it in a chart.
    That sounds simple, but looking at your dataset, there's a few things you should know. First, the "read from spreadsheet VI" is looking for data in columns, like your data set, but columns separated by tabs. Therefore, your data must be saved that way; currently, it doesn't seem that it is. Another thing; you must skip the header portion (labels) of your file when reading.
    Next, it would be easier if your time was first, and your data was second in your columns, but that can be overcome. In the VI I am including, I have copied your data set into a file called data.txt, and I've removed the header and separated the columns with a tab. Then, I read in the data, and I break out each column so I can put the time first, and then I combine them again into a cluster so it can be displayed on an XY chart.
    Take a look!
    Mark"
    Graph data from file (Binary Executable, 20K)
    data.txt (Plain Text, 3K)
    This answer has not yet been rated.
    Rate this answer:
    Mikael Garcia on 9/11/2001 answered:
    "Ellie,
    Here is one way of doing it. Take a look at this example (compatible with LabVIEW 4.1 and up) and post comments if you need further help. Basically, I read your file as text; split it; and make use of the Spread sheet string to Array function before I plot your data. Hope this helps./ Mikael"
    ExtractAndPlot.vi (Binary Executable, 36K)
    This answer has not yet been rated.
    Rate this answer:
    Ellie on 9/12/2001 commented:
    "Thank you. I am trying to get the data from the text file into a string and am having some trouble. I am reading the file from a spreadsheet, and sending the output array to "Array to Spreadsheet String", but I'm not sure this is what I want to do. Is there another way to make an array into a string? Do I need to reformat my data?
    Can you offer me any advice?
    Thank you."
    data_1 (Plain Text, 3K)
    Mikael Garcia on 9/12/2001 commented:
    "I noticed that you changed your file format according to what was said here. Yes, this new file of yours is easier to use but your original file does not have to be changed. Take a look at this example. I now added the file-read part. It will give you a dialog to locate your data file (use this VI with your original file with the header since this VI includes a string split function). Hope this helps. /Mikael"
    ReadExtractandPlot.vi (Binary Executable, 35K)
    Niko on 9/12/2001 answered:
    "If you read this file with the "read from spreadsheet file.vi" you get you
    data in a 2-D-array. Now it is easy with array- and cluster-functions to
    handle the data the way you want.
    hope that helps, Niko"
    This answer has not yet been rated.
    Rate this answer:
    I intend to read from a .txt file that contains a column of numbers. After reading I want to display it as a waveform. In fact the numbers represent points along a waveform/graph of Flow vs. time. Thus I want to have this info in the chart or graph with flow in the y0axis and time in the x-axis. Can someone give me some detailed help please? Thank you in advance.
    Attachments:
    The_file.txt ‏18 KB

    All you have to do is use Read From Spreadsheet File.vi that's on the File I/O palette. For your example .txt, set the Transpose input to true and wire the First Row output to a waveform graph. The only problem I see is that since your file doesn't contain any sampling info, the time axis will be relative. If have that information elsewhere, then you can put a build waveform function between the read and the graph. Wire the First Row output to the Y input Build Waveform and add t0 and dt values. I've attached an example.
    Attachments:
    Graph_from_text.vi ‏29 KB

  • How do I get numbers to automatically add the next date down a column in numbers?

    How do I get numbers to automatically add the next date down a column in numbers?

    Hi Dd,
    If you want the next date automaitcally  filled in when you add a row to the bottom of the table, you can use a formula.
    Here's an example, done in Numbers 2.3 (Numbers '09). The method is basically the same in Numbers 3.
    Formulas in row 3:
    B3: =B2+1
    C3: =C2+7
    D3: =D2+14
    These have been filled down to the last row of the table.
    The same table is shown below after three rows have been added by dragging the Row control handle (below the tab for row 7) down. No changes other than adding thse three rows were made by the user.
    Note that rows 1 and 2 are header rows, and that row 2 contains the starting date for the seraies of date in each column. In the formula, the number at the end tells Numbers how many days to add to the previous date to get the next date.
    Autofill of the formula requires that every non-header cell located above the cell into which the formula is to be filled contains the same formula.
    Regards,
    Barry

  • How do I select the end of a row or column in Numbers?

    I am trying to select to the end of a column in Numbers. In Excel, I simply hold down the shift+command+arrow keys and I can select the entire row or column int he arrow direction. How do I do this in Numbers?

    Here two other scripts :
    Select-to-top and select-to-left.
    Both of them take care of possible headers.
    --{code}
    --[SCRIPT select-to-top]
    Enregistrer le script en tant que Script : select-to-top.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothèque:Scripts:Applications :Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner une ou plusieurs cellules d'une ligne dans une table de Numbers
    Aller au menu Scripts , choisir Numbers puis choisir “select-to-top”
    Il étendra la sélection jusqu'à la première ligne standard de la colonne (ne sélectionne pas les rangs d’en tête).
    Bien entendu, ce script sera plus intéressant si vous le dotez d'un raccourci clavier à l’aide, par exemple, de FastScripts.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: select-to-top.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select one or several cells in a row of a Numbers table.
    Go to the Scripts Menu, choose Numbers, then choose “select-to-top”
    It will expand the selection to the first standard row of the table (minus header rows).
    Of course, it would be more useful if you attach a shortcut thanks to a tool like FastScripts.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2012/02/09
    --=====
    on run
              my activateGUIscripting()
              set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
              tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
                        set count_HeaderRows to my countXers("Numbers", "R")
                        set selection range to range ((name of cell (1 + count_HeaderRows) of column colNum1) & " : " & (name of cell rowNum1 of column colNum2))
              end tell
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    on activateGUIscripting()
      (* to be sure than GUI scripting will be active *)
              tell application "System Events"
                        if not (UI elements enabled) then set (UI elements enabled) to true
              end tell
    end activateGUIscripting
    --=====
    set count_Row_Headers to my countXers("Numbers","R")
    set count_Column_Headers to my countXers("Numbers","C")
    set count_Footers to my countXers("Numbers","F")
    set count_Row_Headers to my countXers("Pages","R")
    set count_Column_Headers to my countXers("Pages","C")
    set count_Footers to my countXers("Pages","F")
    on countXers(theApp, what)
              local mt, mi, mm, ms
              if theApp is "Numbers" then
                        set mt to 6 (* Table *)
                        if "Row" starts with what then
                                  set mi to 10
                        else if "Column" starts with what then
                                  set mi to 11
                        else if "Footer" starts with what then
                                  set mi to 14
                        else
                                  if my parleAnglais() then
                                            error "“" & what & "” isn’t a valid parameter !"
                                  else
                                            error "« " & what & " » n’est pas un paramètre géré !"
                                  end if -- parleAnglais
                        end if -- "Row"…
              else if theApp is "Pages" then
                        set {mt, mi} to {6, 4} (* Format, Table *)
                        if "Row" starts with what then
                                  set mm to 13
                        else if "Column" starts with what then
                                  set mm to 14
                        else if "Footer" starts with what then
                                  set mm to 15
                        else
                                  if my parleAnglais() then
                                            error "“" & what & "” isn’t a valid parameter !"
                                  else
                                            error "« " & what & " » n’est pas un paramètre géré !"
                                  end if -- parleAnglais
                        end if -- "Row"…
              else
                        if my parleAnglais() then
                                  error "The application “" & theApp & "” isn’t driven by this script !"
                        else
                                  error "L’application « " & theApp & " » n’est pas gérée par ce script !"
                        end if -- parleAnglais
              end if -- theApp…
      activate application theApp
              tell application "System Events" to tell process theApp to tell menu bar 1 to tell menu bar item mt to tell menu 1 to tell menu item mi to tell menu 1
                        if theApp is "Numbers" then
    Here we are in Numbers *)
                                  repeat with ms from 1 to 6
                                            try
                                                      (get value of attribute "AXMenuItemMarkChar" of menu item ms) = "✓"
                                                      exit repeat
                                            end try
                                  end repeat
                        else
    Here we are in Pages *)
                                  tell menu item mm to tell menu 1
                                            repeat with ms from 1 to 6
                                                      try
                                                                (get value of attribute "AXMenuItemMarkChar" of menu item ms) = "✓"
                                                                exit repeat
                                                      end try
                                            end repeat
                                  end tell -- menu item mm
                        end if -- theApp is …
              end tell -- System Events…
              return ms - 1
    end countXers
    --=====
    --[/SCRIPT]
    --{code}
    --{code}
    --[SCRIPT select-to-left]
    Enregistrer le script en tant que Script : select-to-left.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothèque:Scripts:Applications :Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner une ou plusieurs cellules d'une colonne dans une table de Numbers
    Aller au menu Scripts , choisir Numbers puis choisir “select-to-left”
    Il étendra la sélection jusqu'à la première colonne standard de la table (ne sélectionne pas les colonnes d’en tête).
    Bien entendu, ce script sera plus intéressant si vous le dotez d'un raccourci clavier à l’aide, par exemple, de FastScripts.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: select-to-left.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select one or several cells in a column of a Numbers table.
    Go to the Scripts Menu, choose Numbers, then choose “select-to-left”
    It will expand the selection to the first standard colomn of the table (minus fheader columns).
    Of course, it would be more useful if you attach a shortcut thanks to a tool like FastScripts.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2012/02/09
    --=====
    on run
              my activateGUIscripting()
              set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
              tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
                        set count_ColHeaders to my countXers("Numbers", "C")
                        set selection range to range ((name of cell (1 + count_ColHeaders) of row rowNum1) & " : " & (name of cell colNum1 of row rowNum2))
              end tell
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, left_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is left_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell left_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    on activateGUIscripting()
      (* to be sure than GUI scripting will be active *)
              tell application "System Events"
                        if not (UI elements enabled

  • Rules under columns of numbers in financials?

    I am laying out columns of numbers in a financial section of a report...the columns are created with tabs. how do I make rules underneath each individual column. Underlining won't do it...I need to be able to control color, offset, etc. When I use paragraph rules, it makes a rule under the whole group of columns, not under each individual column.

    I have done a lot of financial statements. Used to work in-house in an investment company. Tables are not an option unless you're doing something very minor: generally text needs to flow from column to column, and from page to page. It is possible that a single portfolio could run on for 10 pages. The other problem is that a typical layout can have several styles of ruling depending upon which row they're associated with: single rule under the left column; single rule under left two columns; double rule under the middle column; double rule under the right column. This makes regular paragraph ruling useless.
    The best way I've found to handle this is to make your own custom rules with stroke styles (in the flyout of the stroke palette). Essentially, you make dashed rules that correspond to each different situation and apply them as paragraph rules in the appropriate style sheet. The gaps will be the columns without ruling and spaces between columns; the dashes will be the rules under the appropriate columns. Set up both single and double rules this way. (The rule weight of double rules includes both rules: if you want two half-point rules with a half point gap, you use a one-and-a-half point rule. Thick-thick is based on 33.3%,33.3%,33.3%, but the weights and spacing are as customizable as the dashes.)
    With some planning you may be able to cut down on the number of strokes sytles you have to define. Generally the left column is text, the rightmost columns are figures, and only figure columns will ever have rules beneath them. A little tip is to use the paragraph rule indent to set the postion of the first dash. If you have equal columns you may be able to use one custom dash in different situations. For instance, you can use your three dash rule for just the last two columns by increasing the left indent. Increase it more and it's only applied to the last column. These indents can be defined in your paragraph styles.

  • Can you create forms that automatically calculate columns of numbers? Example of such form would be

    I am trying to recreate a loan application form which includes several columns of numbers which need to totaled, currently we are using a Word document, but are starting to find that it is cumbersome and very limiting. It was suggested that we check out Adobe forms as a possible solution.

    In FormsCentral, you can use formulas in the response table to add together values in a response. For an example of this, you can fill out this form:
    https://adobeformscentral.com/?f=nAo5QQeg5J2NDfXYlZW4fw
    And you can see the response table for that form here:
    https://formscentral.acrobat.com?d=nAo5QQeg5J2NDfXYlZW4fw
    I've created two columns that use different labels to add together the number fields in the form. You can mouse over a cell in those columns to see the formulas used.
    Hope that helps!

  • Remove the word "Total" in Row Totals in Pivot Tables

    Hi,
    Is it possible to remove the word "Total" that appears in Row Totals in Pivot Tables?
    Eg. If there are 2 Dimension Columns -- Year and Month .... and if we do row totals on Year
    The total appears as *'2008 Total'* or *'2009 Total'* etc. i.e. Each of the Values is followed by the word 'Total'.
    However, i would like the totals to display only the values '2008' or '2009' without the word 'Total'.
    Is this possible in OBIEE 11.1.1.5.0 ?
    Thanks,
    Ab

    Hi ,
    Goto Total -> Format label and type in @.This will remove the word"Total". I have tested this in 10g, try this and let me know if it works in 11g.
    Rgds,
    Dpka

  • Get Last Number in Column

    I have a column of numbers (ColA), into which I enter a new number at the bottom of the list for each day.
    I have another table where I want to show only the latest number entered in ColA. I don't want an average or max or min... I want the last number in the column. And since the column grows every day, I don't know what that cell number will be.
    Is there a way to do this?
    Thanks
    D

    Hi Dana,
    Here's a two part formula set that should do it.
    The numbers are entered in column G.
    1. Two versions of a step one formula. Each checks for three consecutive empty cells in column G. If three are found, then the contents of the last cell before them is returned. Otherwise the return is a blank (or zero). For each, the formula is as it appears in cell H2.
    =IF(AND(G2>0,ISBLANK(G3),ISBLANK(G4),ISBLANK(G5)),G2,"")
    OR
    =IF(SUM(G3,G4,G5)=0,G2,"")
    Whichever you use, drag the handle at the bottom right of H2 to fill the formula down column H.
    The first formula returns blanks for all cells except the target one, for which it returns the number in G2. The second returns the same results up to the target one, but returns zeros for all cells after that.
    2. The second formula collects the number from column H, and places it in a fixed location (ie. the cell containing this formula. I put it in cell J2.
    =MAX(H)
    Column H is used only for calculation, and may be hidden.
    NOTE: These formulas reflect the way I would accomplish this in an AppleWorks spreadsheet. It works in Numbers as well, but does not take advantage of any Numbers specific features.
    Regards,
    Barry

  • What has happened to "categorize by this column" in Numbers?

    What has happened to "categorize by this column" in Numbers?
    Has it been removed during the integration with Mavericks and iOS7?

    I can't use my usually functions to manage my spreadsheets.
    Hi Kudunet,
    Your Numbers 2.3 is still on your Mac, in a subfolder within Applications named iWork '09 or similar. You can use that.
    If you've already opened documents in 3.0 and need to take them back to 2.3 just use this:
    SG

Maybe you are looking for

  • Error while cancelling a migrated PO

    Hello All, We are trying to cancel a migrated PO. While cancelling, we are getting an error Document control failed due to error in [DOCMGR-CANCEL] with a return code of [OTHER]. I referred the note Master Note of Fixes for Error - Document control f

  • Using separate_frame=true and trying to close the applet window after...

    We are using separate_frame=true and trying to close the applet window (the one with the large gray box) after using the following post-form trigger: if :system.last_form = 0 then           message('Please wait while Forms closes - '||:system.last_fo

  • Unable to create a webi report and 3 times it prompting for logon credentai

    Hi, We have a issue, 1.We are  unable to create a webi report and 3 times it is prompting for logon credentials. 3.After giving the logon credentials 3 times then it is working fine. 4.We are  using IIS Jakarta redirector . 5.We are  able to view the

  • My mail.app is downloading my mail but it is not showing in my inbox

    My mail.app is downloading my mail but it is not showing in my inbox. I have read about deleting the com.mail.pfile to resolve this but the file doesn't exist. Anyone else ever had this experience?

  • What is a bmk file?

    I downloaded a file browser and there were some files in the gallery called 60ringtonesdownload.bmk 60videosdownload.bmk etc. What are bmk files? Are these files safe to delete? I think this is in the wrong category.