Copy Row to overwrite formatting/Formula

I am trying to create a new sheet from a template in Zapier, (which is working fine). But I am next trying to copy a row from a "Master" sheet to that newly created sheet. It does create the new row, however it is always one row beyond my pre-filled formulas. In the template I have a formula to read information in [Column A]15. The row that gets copied always populates [Column A]16, even though there is no writing in row 15. Is there anyway around that? Even if it's not the method I am use, I would like to have a pre-filled formula (can't be a column formula) that will take into consideration an incoming row that gets copied.

Answers

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    Can you delete that blank row? if the formula is auto populating from rows above it, it will auto populate into the newly created row (I imagine form the copy too if that column has no value to overwrite it.

    See the following article which has helpful information on autofilling formulas.


  • Ross Novotny
    Ross Novotny ✭✭✭✭✭

    When I delete the blank row above the content that I want, it creates an "#Unparseable" issue (=#Ref). Because my formula is referring to the row I just deleted.

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    I'm not sure if what you're trying to do is possible.@Paul Newcome@Andrée Staråthoughts?

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Can you provide more detail as to what the formula is and what the expected result is? Why can't it be a column formula? Is there a reason you have a formula that references a blank row?

  • Ross Novotny
    Ross Novotny ✭✭✭✭✭

    Hi@Paul Newcome。我将尽量保持一些浓缩的描述ise. I am trying to set up a master sheet for a Lender. Then when they approve the loan on the Master, it will create a sheet specific to that loan. That loan specific sheet will be generated through Zapier based on a template I created in Smartsheet. But once I create the new loan specific sheet, I would like to populate some information from the Master. The template looks like a ledger sheet, but has some loan specific information at the top - address, contact information, remaining balance on the loan, interest accrued. All of these pieces of information (address, contact, etc) are stacked on top of each other therefore can't be a column formula. And even with a slightly different configuration, If I copy a row automatically form the master sheet, I can't have the "address" field for example read a "Hidden Address Field", because the automation will automatically place the copied row information outside of the formula. I can't do a formula in the "address" field like "[Hidden Address Field]:[Hidden Address Field]" because it's a text column. If there was a way to populate the content of the "Hidden Address Field" to all rows, that would be helpful, but I don't think that it's possible to right a formula that just copies the content of one cell into an entire column.

    I know that's a lot of information Paul. Any nuggets of wisdom is appreciated.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Are you able to provide some screenshots with some mock data?

  • Ross Novotny
    Ross Novotny ✭✭✭✭✭

    @Paul Newcomebelow is a screenshot of what is happening. In Step 1 I am creating the columns, and the bulk of the sheet form a template triggered in Zapier. I was able to get the "Primary Contact", "Street Address", etc to populate because of formulas like: =IFERROR(INDEX(COLLECT([Primary Contact]:[Primary Contact], [Primary Contact]:[Primary Contact], <>""), 1), ""). This is reading a hidden column that is populated in the step 2 row, which is being copied from the Master Sheet. That has all the data for the primary contact, street address etc. I added some conditional formatting so that the Step 2 portion would look like it was part of the template in step 1. I am now stuck on step 3.

    Here are the challenges. I initially tried to copy over another row that would include the formulas I need in the columns such as "Rolling Balance", however formulas don't copy over. And because I don't have the Row ID of this new template, I can't just "update" a row form Zapier. Automation workflows could have helped if they transferred in a template, but workflows don't copy over. All those avenues seem to be dead ends. So now I am looking to figure out if my rolling balance could be turned into a column formula. This is the current formula: "=IF(AND([Transaction Information]@row = "", [Transaction Type]@row <> ""), SUMIF([Transaction Type]$16:[Transaction Type]@row, "Advance", [Transaction Amount]$16:[Transaction Amount]@row), "")". The formula needs to count everything in the "Transaction Amount" Column up to that row, but no further. I was thinking if there was a way to create an indirect formula that would essentially concatenate two components to create a single cell reference, meaning if I am in row 16, I could have a AutoNumber column that would show "16" and I could have a combined reference of the "Transaction Amount"+"AutoNumber@Row". I haven't figured that one out, but if you think there is a way to make the Rolling balance formula into a column formula, that might be the last hurdle on the monumental effort. Thanks for the help

    Screen Shot 2020-11-18 at 10.34.34 AM.png


  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    What about using a column formula in your original template? Would that carry across and work for you for those columns?


  • Ross Novotny
    Ross Novotny ✭✭✭✭✭

    @Mike WildayThe column formulas do carry over, the challenge is I can't (currently) convert my "Rolling Balance" formula into a column formula. You can't have static references in column formulas unfortunately and this formula currently does.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    When you add new rows, autofill should be grabbing the formulas and pulling them down. Are new rows being added immediately under the last used row? So when you add row 18 for example, are rows 16 and 17 already populated?

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    I think the issue is he needs the new row to reference the Current Balance Field, but he is zapiering in a segment from another sheet before that first row begins.

    I am wondering if you can go back to a template and import a row from Zapier that has a first row data that references that column. And pulls that row only from the template and adds it to the bottom of your sheet to initiate the formula? Idk This is really tricky.

  • Ross Novotny
    Ross Novotny ✭✭✭✭✭

    I think the best I am going to be able to do is adjust the template to have the "ledger" portion included, and include the formulas. Then the row with the data is going to populate at the very bottom of the sheet. I am going to have some conditional formatting where that bottom row with the data will look like a colored row indicating the end of the formulas (and ledger). It's not perfect, but I think it can work given the current Smartsheet/Zapier functionality. I wish the Zapier integration was a little bit more robust. If there was a lookup function and/or if you could update a row without having the Row ID, that would open up all sorts of possibilities.

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    I'm not a developer but I bet you can use API's to do something like you're suggesting.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out theFormula Handbook template!
Hi, <\/p>

Instead of applying the formula to \"Multiselect Text String\" row, did you tried with \"Multiselect Values\" row?<\/p>

=IF(HAS([Multiselect Values]@row, [Component ID]@row), \"MATCH\", \"NO MATCH\")<\/p>

Thank you,<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":109493,"type":"question","name":"I am having trouble using \"And\", \"OR\" & \"Countif(s)\" to build a formula.","excerpt":"Hello, I am attempting to come up with a sheet summary formula that counts cells if they meet at least one of 3 different statuses in the same column, AND also meet one of 5 different statuses in a separate column. So using the screenshot I've provided as an example (although it doesn't have 5 different statuses in the…","snippet":"Hello, I am attempting to come up with a sheet summary formula that counts cells if they meet at least one of 3 different statuses in the same column, AND also meet one of 5…","categoryID":322,"dateInserted":"2023-08-25T20:03:21+00:00","dateUpdated":null,"dateLastComment":"2023-08-26T00:34:49+00:00","insertUserID":165710,"insertUser":{"userID":165710,"name":"SmarsheetNewb","url":"https:\/\/community.smartsheet.com\/profile\/SmarsheetNewb","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-26T00:33:27+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":161714,"lastUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-27T02:16:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":23,"score":null,"hot":3386005690,"url":"https:\/\/community.smartsheet.com\/discussion\/109493\/i-am-having-trouble-using-and-or-countif-s-to-build-a-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109493\/i-am-having-trouble-using-and-or-countif-s-to-build-a-formula","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109493,"commentID":392692,"name":"Re: I am having trouble using \"And\", \"OR\" & \"Countif(s)\" to build a formula.","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392692#Comment_392692","dateInserted":"2023-08-26T00:34:49+00:00","insertUserID":161714,"insertUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-27T02:16:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-26T00:33:25+00:00","dateAnswered":"2023-08-25T20:44:12+00:00","acceptedAnswers":[{"commentID":392662,"body":"

Try this:<\/p>

=COUNTIFS([Item Number]:[Item Number], OR(@cell = \"C001\", @cell = \"COO2\", @cell = \"COO3\", @cell = \"COO4\"), [Status]:[Status], OR(@cell = \"Green\", @cell = \"Yellow\", @cell = \"Red\"))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]},{"discussionID":109474,"type":"question","name":"Help with date calculation formula","excerpt":"Hello, I'm trying to find a formula that will help me calculate how long an intake took to resolve. The rows I need to be calculated are Date Reported & Resolution Date. If the resolution date is blank I want it to use the current date in the calculation to see how long this issue has gone unresolved. Any help is much…","snippet":"Hello, I'm trying to find a formula that will help me calculate how long an intake took to resolve. The rows I need to be calculated are Date Reported & Resolution Date. If the…","categoryID":322,"dateInserted":"2023-08-25T16:29:39+00:00","dateUpdated":"2023-08-25T16:29:59+00:00","dateLastComment":"2023-08-25T23:01:30+00:00","insertUserID":165688,"insertUser":{"userID":165688,"name":"Nwest","title":"Systems Analyst","url":"https:\/\/community.smartsheet.com\/profile\/Nwest","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!ukHVZ18ImX4!BcjWAe8S9SY!l7iQo_PZHOx","dateLastActive":"2023-08-25T17:22:30+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":165688,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-08-26T17:06:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":23,"score":null,"hot":3385987269,"url":"https:\/\/community.smartsheet.com\/discussion\/109474\/help-with-date-calculation-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109474\/help-with-date-calculation-formula","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109474,"commentID":392687,"name":"Re: Help with date calculation formula","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392687#Comment_392687","dateInserted":"2023-08-25T23:01:30+00:00","insertUserID":8888,"insertUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-08-26T17:06:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-25T17:04:22+00:00","dateAnswered":"2023-08-25T16:36:59+00:00","acceptedAnswers":[{"commentID":392622,"body":"

\n \n https:\/\/community.smartsheet.com\/discussion\/109474\/help-with-date-calculation-formula\n <\/a>\n<\/div>\n

Hi, <\/p>

I hope you're well and safe!<\/p>

Try something like this.<\/p>

=IF([Date Reported]@row <> \"//www.santa-greenland.com/community/discussion/73208/\", IF([Resolution Date]@row = \"//www.santa-greenland.com/community/discussion/73208/\", NETDAYS([Date Reported]@row, TODAY()), NETDAYS([Date Reported]@row, [Resolution Date]@row)))<\/p>

Did that work\/help? <\/p>

I hope that helps!<\/p>

Be safe, and have a fantastic weekend!<\/p>

Best,<\/p>

Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p>

Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Formulas and Functions