How to Create an S Curve Pattern in Microsoft Excel
Three Parts:The TutorialExplanatory Charts, Diagrams, PhotosHelpful Guidance
In this article, you'll learn to make the "S Curve" pattern and image below, and the dozens of variations the file permits therefrom.
Part 1 The Tutorial
 1This workbook builds on the progress achieved in the article Create a Necklace Pattern in Microsoft Excel and it would be helpful to simply copy from that file and modify it. However, a basic understanding of design principles, such as what happens to a curve when one adds to it versus when one multiplies to it, would be helpful  so starting fresh might be a good idea too. Here, a basic adjustment is added to the Garthwaite Curve. That adjustment is a little complicated but the user is encouraged to substitute their own values and observe the effects of so doing.
 2
Set Preferences. Open Preferences in the Excel menu. Recommended Settings: Set General to R1C1 Off and Show the 10 Most Recent Documents; Edit  set all the Top options to checked except Automatically Convert Date System. Display number of decimal places = blank (for integers preferred), Preserve display of dates and set 30 for 21st century cutoff; View  show Formula Bar and Status Bar, hover for comments and all of Objects, Show grid lines and all boxes below that auto or checked; Chart  show chart names and data markers on hover. Leave rest unchecked for now; Calculation  Automatically and calculate before save, max change .000,000,000,000,01 w/o commas if you do goalseeking a lot and save external link values and use 1904 system; Error checking  check all; Save  save preview picture with new files and Save Autorecover after 5 minutes; Ribbon  all checked except Hide group titles and Developer.  3Create a copy of the Data worksheet from Create a Necklace Pattern in Microsoft Excel and rename variables AdjX to AdjX1 and AdjY to AdjY1 and Insert Name create for their columns and substitute the new variable names into column E and F formulas (which will also change  see below), and see below for changes to columns G and H, or Create the Defined Variables upper section of the Data worksheet as follows:
 Enter AROWS into cell A1 and 1439 into cell A2. Insert Name Define Name AROWS to cell $A$2.
 Enter FACTORY into cell C1 and .25 into cell C2. Insert Name Define Name FACTORY to cell $C$2.
 Enter GM into cell D1 and w/o spaces 0.618 033 988 749 895 into cell D2. Insert Name Define Name GM to cell $D$2.
 Enter Adj1 into cell G1 and 0 into cell G2.
 Enter Adj2 into cell H1 and 0 into cell H2.
 CommandSelect cells A2, C2, D2, G2 and H2 and Format Cells Border Black Outline. Select cell range A1:H2 and align horizontal center.
 4Create the Column Headings section of the Data worksheet.
 Enter Base t into cell A3.
 Enter c into cell B3.
 Enter cos into cell C3.
 Enter sin into cell D3.
 Enter x into cell E3.
 Enter y into cell F3.
 Enter AdjX into cell G3.
 Enter AdjY into cell H3.
 Select A3:H3 and align center and Font underline single underline.
 5Enter the Column Formulas.
 Enter "=ROUND((308100*PI())+(190),0)" w/o quotes into cell A4. Format Cell Number Number Custom "tip" 0 including quotes. Insert Name Define Name tip to cell $A$4.
 Edit Go To cell range A5:A1444 and with A5 active, enter w/o quotes the formula "=((A4+(tip*2)/(AROWS)))" into A5 and Edit Fill Down.
 Select cell AAB4 and enter 25822 into it. Edit Go To cell range B5:B1444 and with B5 active, enter "=B4" w/o quotes into it and then Edit Fill Down.
 Edit Go To cell range C4:C1444 and with C4 active, enter w/o quotes the formula into it, "=COS((ROW()4)*PI()/180*FACTORY)". Factory Note: .25*1440 = 360, one full circle/cycle.
 Edit Go To cell range D4:D1444 and with D4 active, enter w/o quotes the formula into it, "=SIN(ROW()4)*PI()/180*FACTORY)".
 NEW: Edit Go To cell range E4:E1444 and with E4 active, enter w/o quotes the formula into it, "=((SIN(A4/(B4*2))*GM*COS(A4)*GM*(COS(A4/(B4*2)))*GM)+C4)+AdjX1" and Edit Fill Down. This is not the previous double whammy.
 NEW: Edit Go To cell range F4:F1444 and with F4 active, enter w/o quotes the formula into it, "=((SIN(A4/(B4*2))*GM*SIN(A4)*GM*(COS(A4/(B4*2)))*GM)+D4)+AdjY1" and Edit Fill Down,
 NEW: Edit Go To cell range G4:G1444 and enter "=SIN((C4+D4)*PI()/180)*IF(C4<0,1,1)" as entered to G4, the do Edit Fill Down.
 NEW: Edit Go To cell range H4:H1444 and enter "=COS((C4+D4)*PI()/180)*IF(C4<0,1,1)" as entered to H4, the do Edit Fill Down.
 In the above two formulas, reverse the final two 1 and negative 1's to reverse the direction of the Scurve. Make a copy of each formula and copy it it to G and H 1446 and 1447 with a note in I1446 and I1447 "Reverse S Direction".
Part 2 Explanatory Charts, Diagrams, Photos
 (dependent upon the tutorial data above)
 1Create the Chart.
 Edit Go To cell range E4:F1444 and, using either the Chart Wizard or the Ribbon, select Chart, All/Other, Scatter  Smooth Line Scatter. If not using Chart Wizard, a small chart should appear atop the data. Copy or Cut and Paste the Chart to the Chart worksheet you create anew now, into cell A1, and expand the chart by hovering over the lower right corner until the cursor becomes the doubleheaded arrow allowing one to pull down and to the right the chart, expanding it. Using Chart Layout, Select Data Series 1 and Format Selection Line Weight 1. Then select the Plot Area and format Fill grey. Then format Chart Area sky blue fill. Insert Picture WordArt whatever text you feel is appropriate, and format it by clicking on the Home Ribbon tab and using the edit tools.
 To get rid of the annoying vertical line, Edit Clear Contents from E1084:F1086 and E364:F367 (this works at least when the S is in forwardfacing position).
 Hold down the shift key and copy picture to the Saves worksheet to be created anew, along with the formulas and pasted values from the top rows of the Data worksheet.

It would be a good idea to Insert New Comment on the original values and formulas of the Data worksheet so that renormalization is a few steps away. Done!
Part 3 Helpful Guidance
 1Make use of helper articles when proceeding through this tutorial:
 See the article How to Create a Spirallic Spin Particle Path or Necklace Form or Spherical Border for a list of articles related to Excel, Geometric and/or Trigonometric Art, Charting/Diagramming and Algebraic Formulation.
 For more art charts and graphs, you might also want to click on Category:Microsoft Excel Imagery, Category:Mathematics, Category:Spreadsheets or Category:Graphics to view many Excel worksheets and charts where Trigonometry, Geometry and Calculus have been turned into Art, or simply click on the category as appears in the upper right white portion of this page, or at the bottom left of the page.
Tips
 Next article will be on this second necklace, if possible  some of the source data may be permanently lost:
 By doing a Copy Picture and Paste Picture with the Shift Key depressed, and then rotating the S using the top handle, it was then possible to doubleclick on the image and use Adjust  Remove Background to include the edges of the S and to draw and delete the portions not wanted. Here's the result (with a slight editing error at lower left):
 Double S in Oval:
 n.b. A new Part, The Quadratic Relation of Neutral Operations / Symmetry by Commutation, has been added to the article How to Convert a Quadratic Formula to Roots Form by Completing the Square
Warnings
 ERRORS: If there are errors or error values, either the sheet in incomplete and needs further input or Lookup Tables for critical variables or perhaps there's a mistake somewhere along the line. If the instructions have been completed and there are still errors, select the cell that has the error value that is furthest left and topmost first. Look for a typo in a formula or unmatched parentheses. Possibly, a Defined Name is wrong  they need to be input into the formulas exactly as they were defined. Do Insert Name Define to check. If there is a #DIV/0! error, the example does not, so look for a variable that somehow did not get filled in with a value perhaps. At any rate, what to do is select the cell with the error, and after checking all those typical errors, do Tools Auditing Trace Precedents and/or Trace Error. If fixing all the topmost leftmost errors does not fix the rest of your errors on the worksheet, one may need to do it the hard way, from the bottom right upwards then leftwards; that is the slow but sure way to fix all errors.
 Also, errors in the chart data will most likely plot as zeroes. This may be acceptable or desirable even. However, if too many lines (or curves) are returning to 0, it may indicate a logical flaw in the data  or too many tiny values and then perhaps rescaling the chart is needed by inspecting the horizontal and vertical axes and changing them to zero in on the problem. Hover over or click on a data marker on the series plot and then do a search in the proper column by value for that value, and identify its precedents.
Sources and Citations
 "CRC Standard Curves and Surfaces", David von Seggern, 1993, CRC Press Inc., Boca Raton, FL. ISBN 0849301963, Library of Congress Card Number 9233596, [pp. 264 7.1.4 Spherical Helix]
 The source workbook for this article is :"ADVANCED FORMULAS2.xlsx".
Article Info
Categories: Graphics  Microsoft Excel Imagery