_fn_Insert2SortedNumList(SList; Value; Order)
Rate this function: Average rating: 3.8 (5 votes) Discuss this Custom Function
Lizhe Xu, APHIS USDA
http://www.aphis.usda.gov/
insert a numeric value into a sorted numeric list
Sample Input:
If Slist is
23
56
78
128
200
230
_fn_Insert2SortedNumList(SList; 181; "A") |
|
Sample Output:
|
Description:
Function:
insert a numeric value into a sorted numeric list and keep the list in correct sorted order
Parameters:
SList: pre-sorted numeric list
Value: the numeric value to insert
Order: indicate the order type of the SList; "A"=ascending list; "D"=descending list
Requirement:
Slist must be a sorted list
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
GroupRelationInfo ( FileTarget ; TableTarget ; Result ) |
| |
(Tue, Mar 16, 5:57am) |
| 2. |
GeoBox(latitude;longitude; radius) |
| |
(Mon, Mar 15, 11:04am) |
| 3. |
MonthNameList ( start; number; short ) |
| |
(Sun, Mar 14, 11:45pm) |
| 4. |
matchListAB( ListA ; ListB; match_Value; match_operator ; getN ) |
| |
(Sun, Mar 14, 10:29pm) |
| 5. |
Bin2Hex ( binary ) |
| |
(Sat, Mar 13, 10:08pm) |
| 6. |
SlideView (text) |
| |
(Sat, Mar 13, 8:40pm) |
| 7. |
HashFNV1a64 ( text ; empty ) |
| |
(Sat, Mar 13, 6:23pm) |
| 8. |
HashFNV1a32 ( text ; empty ) |
| |
(Sat, Mar 13, 5:55pm) |
 |
|