Fill series of vertical cells
How do you fill a series of cells in increasing numerical order in Number 3.5?
in cell A1 type "1"
in cell A2 type "2"
select cells A1 and A2 then hover over the bottom edge and drag the yellow dot that appears down as needed
you can enter other patterns:
10
20
Monday
Tuesday
Jan 2012
Feb 2012
1/1/2012
1/6/2012
etc
Similar Messages
-
How to fill a date series but skip cells
How do you fill a date series, but skip cells.
Wayne Contello wrote:
A1 is the starting date
A3=A$1+(ROW()-1)/2
copy cell A3 and paste in A5, 7, 9, etc
Alternatively,
A3 = A1+1
Leave A2 blank
Select cells A2 and A3 then grab the "fill" handle (the little yellow circle) and drag down to fill in the rest of the column with the pattern of alternating date/blank cells -
Problems with vertical cell borders and the default table style
When laying out tables in Word, I like to use thin horizontal lines (cell borders) and thick-ish white vertical lines. The vertical white cell borders create a subtle negative space that is less cluttered than the typical boxed-in-all-sides style.
Issue 1.
In Pages, horizontal cell borders seem to take precedence over vertical cell borders so my vertical white line trick doesn't work. Is there a way to force my vertical white cell borders to "show up" over my think black horizontal cell borders?
Issue 2.
So, for the time being, I'm not using vertical white cell borders in tables; instead, I set the vertical cell borders to "none." Unfortunately, when I try to set the default table style using a table with no vertical cell borders, Pages adds the vertical cell borders anyway. Does anyone know a way to get Pages to surrender?
Message was edited by: Steve in SeattleI must apologizes.
It seems that I didn't understand well the problem.
Issue 1.
In Pages, horizontal cell borders seem to take precedence over vertical cell borders so my vertical white line trick doesn't work. Is there a way to force my vertical white cell borders to "show up" over my think black horizontal cell borders?
NO
Issue 2.
So, for the time being, I'm not using vertical white cell borders in tables; instead, I set the vertical cell borders to "none." Unfortunately, when I try to set the default table style using a table with no vertical cell borders, Pages adds the vertical cell borders anyway. Does anyone know a way to get Pages to surrender?
I checked and here, aftere defining a new default format with vertical lines set to none, this format is used when I cvreate a new table.
But the same with horizontal lines doesn't apply.
_Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
Then, cross your fingers, and wait _at least_ for iWork'10
Yvan KOENIG (from FRANCE mardi 28 avril 2009 22:31:45) -
Cropped image not filling the same size cell
Hi all,
I've been seeing an interesting issue with the print module in LR3. OS is Win7 64-bit BTW.
Take an image, crop it to 8x10, 5x7 or whatever. Go to Print Module and select an 8x10 cell size template or a 5x7 (2) cells sized template.. The image won't fill the cell until you either choose the Zoom to Fill selection. When you uncheck this option, the pic shrinks just a bit. But if you select and unselect Stroke Border, the image will fill the cell without the overlap of Zoom to Fill and not shrink back off the edges of the cells.
Anyone else see this? It didn't work that way in LR2.x. Is this a known bug? Feedback appreciated.
Tony...I see the opposite: LR2 used to crop to much when Zooming to fill. LR3 fills just right.
Windows XP. -
Copy cells from next filled row into specific cells
Hi guys,
I am trying to generate unique named forms based on a master list of names. What I need to do is to extract information from the master list into specific cells of the form, and save the file under unique file names, such that each name in the master list
have their own forms to look at.
I am unsure how I can run a macro to copy information from the master list, from the next filled row into the form. I find a lot of information on the reverse process instead, any advice?Hi John,
I've extracted data from my system such that i have data in 4 columns, name, ID, Designation, and Date attending course. This is the master list.
After the course, I would like their direct supervisor to carry out a review with them. So I have done up a form.
I will like to customize each form such that the supervisor will receive the files with the above four fields filled up, and they can focus on working on the review.
I can choose to input them one by one, but i have a total of about 600 attendees, which makes it tedious and inefficient if I input them one file by one file. So I'm wondering if there is a macro to run to generate 600 different files, saved to the staff's
names with the necessary information being input before the review.
Please advise.
Thank you. -
Hello, I would like to create a column in Numbers with the cells incrementing by a week on the way down. The series would look like 1/1/10, 1/8/10, 1/15/10 and so on. I can do one daily but would like to have a weekly series. Thanks!
Enter the pattern in cells of the same column then select the cells you entered
and expand as far down as you want : -
Fill up or across cells in pages table
Does anyone know if you can "fill" cells with a formula up or across a pages table as you can in numbers?
In Pages 5, you can fill in any direction. Just Select the cell or cells and Drag the Yellow Dot in the middle of the selection border.
In Pages 4, the Fill Handle is always in the lower right corner of the selection, and you can drag / fill in any direction.
If you Fill from the Menu line, use Format > Table > Fill and choose the direction.
Jerry -
How to fill color in a cell having particular string when using convertto-html
Hello Scripters,
I have downloaded AD health check script but I am wondering if the cell color be changed for a particular string. Like all the cells having text "Failed"..should be in red color.
Here is the script-
Function Getservicestatus($service, $server)
$st = Get-service -computername $server | where-object { $_.name -eq $service }
if($st)
{$servicestatus= $st.status}
else
{$servicestatus = "Not found"}
Return $servicestatus
$Forest = [system.directoryservices.activedirectory.Forest]::GetCurrentForest()
[string[]]$computername = $Forest.domains | ForEach-Object {$_.DomainControllers} | ForEach-Object {$_.Name}
#Section -1
$report= @()
foreach ($server in $computername){
$temp = "" | select server, pingstatus
if ( Test-Connection -ComputerName $server -Count 1 -ErrorAction SilentlyContinue ) {
$temp.pingstatus = "Pinging"
else {
$temp.pingstatus = "Not pinging"
$temp.server = $server
$report+=$temp
$b = $report | select server, pingstatus | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>Server Availability</h2>" | Out-String
#Section - 2
$report = @()
foreach ($server in $computername){
$temp = "" | select server, KDC, NtFrs, DFSR, netlogon, w32Time
$temp.server = $server
$temp.KDC = Getservicestatus -service "KDC" -server $server
$temp.NtFrs = Getservicestatus -service "NtFrs" -server $server
$temp.DFSR = Getservicestatus -service "DFSR" -server $server
$temp.netlogon = Getservicestatus -service "netlogon" -server $server
$temp.w32Time = Getservicestatus -service "w32Time" -server $server
$report+=$temp
$b+= $REPORT | select server, KDC, NtFrs, DFSR, netlogon, w32Time | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>Service Status</h2>" | Out-String
#Section - 3
add-type -AssemblyName microsoft.visualbasic
$strings = "microsoft.visualbasic.strings" -as [type]
$report = @()
foreach ($server in $computername){
$temp = "" | select server, Netlogon, Advertising, Connectivity, Replication
$temp.server = $server
$svt = dcdiag /test:netlogons /s:$server
$svt1 = dcdiag /test:Advertising /s:$server
$svt2 = dcdiag /test:connectivity /s:$server
$svt3 = dcdiag /test:Replications /s:$server
if($strings::instr($svt, "passed test NetLogons")){$temp.Netlogon = "Passed"}
else
{$temp.Netlogon = "Failed"}
if($strings::instr($svt1, "passed test Advertising")){$temp.Advertising = "Passed"}
else
{$temp.Advertising = "Failed"}
if($strings::instr($svt2, "passed test Connectivity")){$temp.Connectivity = "Passed"}
else
{$temp.Connectivity = "Failed"}
if($strings::instr($svt3, "passed test Replications")){$temp.Replication = "Passed"}
else
{$temp.Replication = "Failed"}
$report+=$temp
$b+= $REPORT | select server, Netlogon, Advertising, Connectivity, Replication | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>DCDIAG Test</h2>" | Out-String
#Section - 4
$workfile = repadmin.exe /showrepl * /csv
$results = ConvertFrom-Csv -InputObject $workfile | where {$_.'Number of Failures' -ge 1}
#$results = $results | where {$_.'Number of Failures' -gt 1 }
if ($results -ne $null ) {
$results = $results | select "Source DSA", "Naming Context", "Destination DSA" ,"Number of Failures", "Last Failure Time", "Last Success Time", "Last Failure Status"
$b+= $results | select "Source DSA", "Naming Context", "Destination DSA" ,"Number of Failures", "Last Failure Time", "Last Success Time", "Last Failure Status" | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>Replication Status</h2>" | Out-String
} else {
$results = "There were no Replication Errors"
$b+= $results | ConvertTo-HTML -Fragment -PreContent "<h2>Replication Status</h2>" | Out-String
$head = @'
<style>
body { background-color:#dddddd;
font-family:Tahoma;
font-size:12pt; }
td, th { border:1px Solid Black;
border-collapse:collapse; }
th { color:white;
background-color:DarkGoldenRod; }
table, tr, td, th { padding: 2px; margin: 0px }
table { margin-left:50px; }
</style>
$s = ConvertTo-HTML -head $head -PostContent $b -Body "<h1>Active Directory Checklist</h1>" | Out-string
$emailFrom = ""
$emailTo = ""
$smtpserver= ""
$smtp=new-object Net.Mail.SmtpClient($smtpServer)
$msg = new-object Net.Mail.MailMessage
$msg.From = $emailFrom
$msg.To.Add($emailTo)
$msg.IsBodyHTML = $true
$msg.subject="Active Directory Health Check Report From Dlhdc02"
$msg.Body = $s
$smtp.Send($msg)
Like in the Ping Status (section - 1), I'd like all the cell having text "Not Pinging" should be in RED color.
Also I am facing an issue in the (Section - 4). When the value of $Results is not null I am getting the desired output but when the value is null the text ""There were no Replication Errors"" is not getting displayed in
the HTML body. Instead it comes as "*32" (32 is the number of letters in the text).
Please help me in fixing this ....
BR
Himanshu
MCTS|MCSE|MCSA:Messaging|CCNAHere are instructions on ways to color cells based on content.
http://tech-comments.blogspot.com/2012/07/powershell-dynamically-color-posh.html
\_(ツ)_/ -
Hi All,
How can I display multiple colors to different cells in an ALV ?.
Please help..
Thanks in advance,
sudeep v d..Hi Sudeep,
In the below mentioned link a topic Color of ALV output, columns, and cells has been mentioned in the section '4.17.3 Appearance of ALV Output'.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
Best regards,
Suresh -
How can I position text vertically in a Numbers spreadsheet cell?
Hi,
I would like to position text in a series of Numbers cells in a vertical direction to reduce the width of the spreadsheet. I can't find a way of doing this using the inspector or fonts panels? Can anyone suggest a solution?
Thanks in advanceIs it so tiring to use the Search tool before asking a question ?
Yours was asked and responded many times.
Sometimes I wonder if I'm right when I think that human brain is more efficient than computers.
These dumb machines are able to search by themselves and give links to some existing answers in the "More Like This" box !
Yvan KOENIG (VALLAURIS, France) mardi 17 mai 2011 17:39:25 -
I have over 250 dates (in date order) that I wish to insert into a column, using Excel I can use Edit>Fill>Series functions then enter the first date then the last then all the 250 dates are automatically entered for me. Is there any way of doing similar in Numbers as all I can find is under Insert > Fill but as far as I can see no way to enter a Series of either dates or numbers to avoid entering a long list of data in order?
ThanksI thought that I was clear.
Enter a date in A1: 1/1/2009
Enter a date in A2: 4/1/2009
As I am French I uses the French format d/m/y
Select the two cells then fill down.
The result will be:
1 janv. 2009
4 janv. 2009
7 janv. 2009
10 janv. 2009
13 janv. 2009
16 janv. 2009
19 janv. 2009
22 janv. 2009
25 janv. 2009
28 janv. 2009
31 janv. 2009
3 févr. 2009
6 févr. 2009
9 févr. 2009
12 févr. 2009
15 févr. 2009
18 févr. 2009
21 févr. 2009
24 févr. 2009
27 févr. 2009
2 mars 2009
5 mars 2009
8 mars 2009
11 mars 2009
14 mars 2009
17 mars 2009
20 mars 2009
23 mars 2009
26 mars 2009
29 mars 2009
1 avr. 2009
4 avr. 2009
7 avr. 2009
10 avr. 2009
13 avr. 2009
16 avr. 2009
19 avr. 2009
22 avr. 2009
25 avr. 2009
28 avr. 2009
1 mai 2009
4 mai 2009
7 mai 2009
If you enter/select a single date, the result will be:
1 janv. 2009
2 janv. 2009
3 janv. 2009
4 janv. 2009
5 janv. 2009
6 janv. 2009
7 janv. 2009
8 janv. 2009
9 janv. 2009
10 janv. 2009
11 janv. 2009
12 janv. 2009
13 janv. 2009
14 janv. 2009
15 janv. 2009
16 janv. 2009
17 janv. 2009
18 janv. 2009
19 janv. 2009
20 janv. 2009
21 janv. 2009
22 janv. 2009
23 janv. 2009
24 janv. 2009
25 janv. 2009
26 janv. 2009
27 janv. 2009
28 janv. 2009
29 janv. 2009
30 janv. 2009
31 janv. 2009
1 févr. 2009
2 févr. 2009
3 févr. 2009
4 févr. 2009
5 févr. 2009
6 févr. 2009
7 févr. 2009
8 févr. 2009
9 févr. 2009
10 févr. 2009
11 févr. 2009
12 févr. 2009
I want for example to enter dates sequentially from 1750 to 1850 (one hundred year span) so in cell A1 I entered 1750 then in cell A2 I entered 1751 I then highlighted cells A1 to A100 (to cover the one hundred year span) then clicked Insert > Fill>Fill Down, all that happened was that all the one hundred cells (A:1 to A:100) became 1750 and not A1:1750, A2:1751, A3:1752, A4:1753, A5:1754.............A100:1850.
*1750 is not a date, it's a number !*
For numbers you must fill two cells, select these two cells then apply fill down.
All that is explained in plain English in the *Numbers User Guide* which every user may download thru the Help menu.
If you want something which mimics the XL feature, use this script:
--[SCRIPT fillXcells]
Enregistrer le script en tant que Script : fillXcells.scpt
déplacer le fichier créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Sélectionnez la cellule contenant le nombre de départ
menu Scripts > Numbers > fillXcells
vous demandera quel est le nombre de valeurs souhaitées
et remplira ces cellules avec des valeurs consécutives.
--=====
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".
+++++++
Save the script as a Script: fillXcells.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 the cell containing the starting number.
menu Scripts > Numbers > fillXcells
will ask you how many values are wanted
then it will fill these cells with consecutives values.
--=====
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.
--=====
Yvan KOENIG (VALLAURIS, France)
2009/11/13
--=====
on run
if my parleAnglais() then
set prompt to "How many cells must be filled ?"
else
set prompt to "Nombre de cellules à remplir ?"
end if
set defaultvalue to 150
set nbValues to my askAnumber(prompt, defaultvalue, "i")
set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
set firstVal to value of cell rowNum1 of column colNum1
repeat with r from 1 to (nbValues - 1)
if (rowNum1 + r) > row count then add row below last row
set value of cell (rowNum1 + r) of column colNum1 to (firstVal + r) as text
end repeat
set firstCell to (get name of cell rowNum1 of column colNum1)
set lastCell to (get name of cell (rowNum1 + nbValues - 1) of column colNum1)
set selection range to range (firstCell & ":" & lastCell)
end tell
end run
--=====
on getSelParams()
local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
if item 2 of two_Names = item 1 of two_Names then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
end if
return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
apply to named row or named column !
on decipher(n, d, s, t)
tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
end decipher
--=====
set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
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
--=====
Asks for an entry and checks that it is an integer number
set myInteger to my askAnumber(Prompt, DefaultValue, "i")
Asks for an entry and checks that it is a floating number
set myFloating to my askAnumber(Prompt, DefaultValue, "f")
on askAnumber(lPrompt, lDefault, ForI)
local lPrompt, lDefault, n
tell application (path to frontmost application as string)
if ForI is "f" then
set n to text returned of (display dialog lPrompt & " (" & (1.2 as text) & ")" default answer lDefault as text)
try
set n to n as number (* try to convert the value as an number *)
return n
on error
if my parleAnglais() then
display alert "The value needs to be a floating number." & return & "Please try again."
else
display alert "La valeur saisie doit être un nombre décimal." & return & "Veuillez recommencer."
end if
end try
else
set n to text returned of (display dialog lPrompt default answer lDefault as text)
try
set n to n as integer (* try to convert the value as an integer *)
return n
on error
if my parleAnglais() then
display alert "The value needs to be an integer." & return & "Please try again."
else
display alert "La valeur saisie doit être un nombre entier." & return & "Veuillez recommencer."
end if
end try -- 1st attempt
end if -- ForI…
end tell -- application
Here if the first entry was not of the wanted class
second attempt *)
tell application (path to frontmost application as string)
if ForI is "f" then
set n to text returned of (display dialog lPrompt & " (" & (1.2 as text) & ")" default answer lDefault as text)
try
set n to n as number (* try to convert the value as an number *)
return n
on error
end try
else
set n to text returned of (display dialog lPrompt default answer lDefault as text)
try
set n to n as integer (* try to convert the value as an integer *)
return n
on error
end try -- 1st attempt
end if -- ForI…
end tell -- application
if my parleAnglais() then
error "The value you entered was not numerical !" & return & "Goodbye !"
else
error "La valeur saisie n’est pas numérique !" & return & "Au revoir !"
end if
end askAnumber
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) vendredi 13 novembre 2009 18:55:36 -
Hi All,
I need to create a 5/5 matrix in SSRS report. The data will be :
Col_Side Col_Header Col_data
1 1 1
1 1 1
1 2 1
1 5 1
1 5 1
1 5 1
2 3 1
2 5 1
3 1 2
3 1 2
3 1 2
4 2 1
4 4 1
5 1 1
5 1 1
5 5 1
So, the matrix column will be Col_Header and matrix row will be Col_Side and count(Col_data) will be on the data.
Finally, it will create a 5 by 5 matrix with Count(Col_data) as its data for each combinations. If there is no combination (for ex: in the above data we do not have no combination of (1,3) , (1,4) , (2,1) etc..) then the matrix will be filling that corresponding
cell with zero.
Here I need to fill the cells with some colors based on some criteria.
I need to fill (5,3), (5,4), (5,5) combination with "Red" color. Like this , I need to give different colors in each of the cells. Here, (5,5) combination will be having 1 in its cell. (5,4) and (5,3) will be having zero in its corresponding
cells. I 'm trying to fill all the 3 cells with "Red" color. But, I am able to fill only (5,5) with "Red" color. Since the other 2 cells (5,3) and (5,4), has zero in their cells, it will not fill the cells with "Red" color.
How can I fill those two cells (5,3) and (5,4) with red color?
I know this is very vague. I have no option to give the picture here..
Please suggestHi Julie,
According to your description, there is a 5/5 matrix with three fields: Col_Side, Col_Header, Col_data. You drag Col_Side field to Rows, Col_Header to Columns and Col_data to Data, then filling blank cells with zero using expression. Now you want to fill
(5,3), (5,4), (5,5) cells with red color using expression, but it has no effect on cells (5,3) and (5,4).
According to my test, the expression has on effect on cells (5,3) and (5,4) since there is no corresponding data and the cells are blank. As a workaround, we can insert data for cells (5,3) and (5,4) in dataset, then use expression by following steps:
In the dataset, insert two sets of data (5,3,0), (5,4,0).
Right-click the cell of data, click Text Box Properties.
Click Fill in left pane, click (fx) button, then type the expression like below, then click OK.
=iif(Fields!Col_Side.Value=5 and Fields!Col_Header.Value >=3 ,"red","white" )
The following screenshot is for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
Fill in blank cells with a "junk" value
Greetings
If I have a table with 20 columns, and some rows that have data in varying numbers of the columns
Col1 Col2 Col3 etc
1
4 4 4
3 3
How can I fill in the blank cells with a junk value, say ffff?
I figure its going to involve the IF and IFBLANK functions, but I'm missing something. Perhaps I need to have it fill in a secondary table, instead of trying it with the "live data" table?
Thanks!If you are trying to do it in the same table you will have to pre-fill all cells with a formula or fill in the blank cells with a formula such as RAND. ISBLANK will not work in this case because you can't have a cell checking itself.
You could do this in a separate table with a formula such as
A1=IF(Table 1:: A1 = "", 10*RAND(), Table 1:: A1) and fill this to all the other cells in that table. -
Fill in page items after a selection made from a pop up list
Hi,
I am using apex 3.1 with Oracle 10g database. I have an application where I need to fill in page items on a form after a user select something from a popup list. I have an email field which is a popup list on a foem page after a user select an email address I need to fill items on the same page like name, address.
I foud this example on the web but it's not working for me. Any help would be appreciated.
Thank you,
sofia.
*1. Create an Application Process On Demand - Set_Multi_Items:*
DECLARE
v_mgr VARCHAR2 (200);
v_job VARCHAR2 (200);
v_sal VARCHAR2 (20);
v_comm VARCHAR2 (20);
CURSOR cur_c
IS
SELECT mgr, job, sal, comm
FROM emp
WHERE empno = TO_NUMBER (v ('TEMPORARY_APPLICATION_ITEM'));
BEGIN
FOR c IN cur_c
LOOP
v_mgr := c.mgr;
v_job := c.job;
v_sal := c.sal;
v_comm := c.comm;
END LOOP;
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<body>');
HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
HTP.prn ('<item id="P106_MGR">' || v_mgr || '</item>');
HTP.prn ('<item id="P106_JOB">' || v_job || '</item>');
HTP.prn ('<item id="P106_SAL">' || v_sal || '</item>');
HTP.prn ('<item id="P106_COMM">' || v_comm || '</item>');
HTP.prn ('</body>');
EXCEPTION
WHEN OTHERS
THEN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<body>');
HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
HTP.prn ('<item id="P106_MGR">' || SQLERRM || '</item>');
HTP.prn ('</body>');
END;
*2. Create an application item - TEMPORARY_APPLICATION_ITEM*
*3. Put the following in the Region Header of your items:*
*<script language="JavaScript" type="text/javascript">*
*<!--*
*function pull_multi_value(pValue){*
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
*'APPLICATION_PROCESS=Set_Multi_Items',0);*
*if(pValue){*
get.add('TEMPORARY_APPLICATION_ITEM',pValue)
*}else{*
get.add('TEMPORARY_APPLICATION_ITEM','null')
gReturn = get.get('XML');
*if(gReturn){*
var l_Count = gReturn.getElementsByTagName("item").length;
*for(var i = 0;i<l_Count;i++){*
*var l_Opt_Xml = gReturn.getElementsByTagName("item");*
var l_ID = l_Opt_Xml.getAttribute('id');
var l_El = html_GetElement(l_ID);
*if(l_Opt_Xml.firstChild){*
var l_Value = l_Opt_Xml.firstChild.nodeValue;
*}else{*
var l_Value = '';
*if(l_El){*
*if(l_El.tagName == 'INPUT'){*
l_El.value = l_Value;
*}else if(l_El.tagName == 'SPAN' &&*
*l_El.className == 'grabber'){*
l_El.parentNode.innerHTML = l_Value;
l_El.parentNode.id = l_ID;
*}else{*
l_El.innerHTML = l_Value;
get = null;
*//-->*
*</script>*
*4. Put the following in the HTML Form Element Attributes of :P106_EMPLOYEES:*
onchange="pull_multi_value(this.value)";Hi K,
One way to achieve a result similar to what you are looking for is to use a combination of pop-up menu for the initial choice and a slider or stepper to make the second choice. The example below uses a slider. The formula would be the same for a stepper cell in column B of Main.
Column A contains a series of pop-up menu cells with for choices: -- (no choice yet made), Red, Blue and Green.
Column B contains a series of slider cells, each with the same values: Minimum: 0, Maximum: 3, Interval: 1.
Each cell in Column C contains the formula below, which uses OFFSET, MATCH and the value set by the slider to retrieve the correct value from the Lookup table.
Main::C2, and filled down: =IF(A="--","--",OFFSET(Lookup :: $A$1,B,MATCH(A,Lookup :: $1:$1,0)-1,1))
Results for various combinations of the pop-up and slider cells are shown.
Regards,
Barry
PS: Constructed in Numbers 2.3 (Numbers '09) -
How can I make fill down command NOT increment values?
Hi,
Is there anyway I can get the fill down command to insert the same value in each cell, rather than filling in an increasing series. It works fine for plain numbers (i.e. if I fill down from a cell containing "1", it gives a column with every cell containing "1").
However, for dates and mixtures of text and numbers it always increments the values - example below:
Doing fill down from cells containing:
1 18 Mar 2009 abc100
Gives:
1 18 Mar 2009 abc100
1 19 Mar 2009 abc101
1 20 Mar 2009 abc102
1 21 Mar 2009 abc103
1 22 Mar 2009 abc104
1 23 Mar 2009 abc105
etc...
How can I keep the dates and "abc100" the same in the filled cells?
Thanks for any help!
JoI have no idea how the designers of Numbers determined when to fill down identical values versus incrementing the values. For instance, "abc100" increments in a fill down while "100" and "abc" do not. I, personally, see nothing special about "abc100" that indicates a pattern.
And you are correct that Fill Down is different than dragging the circle. Fill down takes whatever is in the top cell and fills down (either incrementing or not, depending on whatever the rule is the designers chose) while overwriting whatever was in the lower cells. Dragging the circle of a box that covers 2 or more cells fills down from the bottom of the box and it looks for patterns, not just simple increments.
No problem on the search. It isn't always easy to find what you are looking for. I just happened to remember that thread.
Maybe you are looking for
-
Two Datacenters in different geographic regions
Hi. I'm Victor and I need your help. Please give me advise. I have to place servers in to different datacenters for HA. There will be cluster of Hyper-V nodes. One node in one DC and another in the second DC. If connection to main DC or virtual machi
-
Will an iPad that was purchased as a gift in the US work in the UK?
Will an iPad that was purchased as a gift in the US work in the UK?
-
Airport Extreme 802.11n with OS X v.10.3
Bought an Airport Extreme to boost the signal for 2 laptops on a wireless home network. However, I can't configure the airport because it's hooked up to an eMac that runs OS X v10.3 and according to documentation I need to have at least 10.4. Is ther
-
I have done some research on the topic and it appears that notes on the iPhone can not sync with the computer... many people have asked the question and I have found some work-arounds as well as some people proclaiming "this was fixed in Leopard"....
-
Valuation tab in Exch. rate differences
Hi guys, In FBKP when configuring the exch rate differences, for a particular GL account we define the loss and gain accounts in " exchange rate difference realized " tab. But Below that there is one more tab called " Valuation " where we have the Va