+ Reply to Thread
Results 1 to 14 of 14

multiple formulas needed in one cell to create a value in a new cell

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Question multiple formulas needed in one cell to create a value in a new cell

    Hi there,

    I posted a question here a few weeks ago and had an extremely helpful response, so thought I would try my luck with a new question relating to the same sheet.

    As it is a fairly long-winded question, I've attached a "step-by-step" on what it is I am trying to achieve, as well as the excel document I'm trying to implement it in.

    I don't really need an answer to this at this stage. I'm just trying to figure out if what I'm trying to do is actually possible.

    Any help would be greatly appreciated!

    Thanks.

    sales tracking formula.docxMedia Tracking Sheet.xlsx
    Last edited by jamietofs; 11-18-2012 at 06:41 PM. Reason: solved

  2. #2
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: multiple formulas needed in one cell to create a value in a new cell

    Try AVERAGIFS.

  3. #3
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hi bob,

    Thanks for your reply. Yes, I am using AVERAGIFS in the spreadsheet already, though for somewhat of a simpler formula. Do you think AVERAGIFS would be able to handle the type of formula I am trying to achieve here though, as it's somewhat longer and more complex?

    Thanks.

  4. #4
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hi there,

    Sorry but would anyone know if this is possible?

    Thanks.

  5. #5
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hi there,

    I've been advised I can't have a formula and value in the same cell. Hence I've added a column, which makes the formula somewhat simpler (I hope!). I've also added another explanation of what I'm trying to achieve in this sheet, which explains things more clearly (again, I hope!).

    Thanks!
    Attached Files Attached Files

  6. #6
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: multiple formulas needed in one cell to create a value in a new cell

    The formula that gets you the .4 in E10 is:

    Please Login or Register  to view this content.
    I have no clue where you get the 2.5 rating from using this information, so that part is up to you.

  7. #7
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: multiple formulas needed in one cell to create a value in a new cell

    Here's the new attachment. As referred to in your private message.

    DBY
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Thanks DBY.

    This is very very close to what I am looking for! The formulas are set up perfectly in the “Tables – Avg Daily Sales” tab, i.e. working out the average depending on what medium and TV/radio supplier is selected.

    The “Sale” score comparison formulas are set-up perfectly in column E of the first tab as well. The only thing is, is it possible to do the same for campaign? That is, compare campaign against campaign for each region. It uses the same scale as the “Sale” event and the scores in column E add to the same average as the sale scores, so hopefully it’s not too difficult to set-up. Having said that I tried and broke the sheet haha.

    I’ve uploaded an updated sheet based on your workings, which basically just turns column B into a data validation list.

    Thanks for this and your ongoing help. I promise I shan't harass you again after I sort this final thing out.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hello
    It's OK, no harassment. I assume you just want to repeat the set up for Campaigns. I've just added a new column 'Campaign Comparison' and a new sheet 'Tables - AVG Daily Campaign' and repeated the formulas for that criteria. The Region/Store drop down list was broken so I've corrected that and remember, if you need to add more than 3 items for the Radio and TV drop downs, you'll have to expand the named ranges 'TV' and 'Radio'.

    Hope it all works for you but any problems come back and myself or another forum member might be able to help.

    DBY

  10. #10
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Thanks DBY. No idea why those legends are all messed up like that but thanks for fixing!

    To all, would it be possible to combine the campaign and sale comparison in column E? So in other words, depending on what is selected in column B (Sale or Campaign), the formula in column E would know to compare to either all the sales for that region, or all the campaigns for that region. No problems if not, just wondering!

    Lastly, and this should be fairly easy (I think), I am happy for the Campaign comparison scores to contribute to the same average in the "Tables - Avg Daily Sales" sheet. Hence, although I'm very grateful for it, there wouldn't be a need for that final sheet that was created.

    Thanks.

  11. #11
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hello Jamie
    I thought a few tweaks might be needed. I didn't realize you wished to combine the 'Sale' and 'Campaign' figures. I've amended the previous attachment. See Version 3 (attached). Is this nearer the mark?

    DBY

  12. #12
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hi DBY,

    Thanks again, this is great. I've reworked the formula slightly but that's fantastic. The sheet is as good as finished now! I'm sure you'll be pleased to see the end of it...

    One thing I did note was that the radio data validation was off slightly in column H for all regions. The source to the right of the table is the correct radio for each region, I just can't figure out how to correct it as it seems to be more than just simple data validation. Would you be so kind as to correct it?

    Also, and this doesn't require anything on your end, but am I able to lock column E (Comparison) and still be able to tab from the last cell into a new line? When I lock column E, it doesn't create a new line of the same formatting when I tab from the last cell (N10 in this case).

    Thanks!

    Media Tracking v5.xlsx
    Last edited by jamietofs; 11-16-2012 at 01:09 AM. Reason: attachment

  13. #13
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: multiple formulas needed in one cell to create a value in a new cell

    Hi
    Glad you're getting near to what you want. As I mentioned, if you added more items to the Data Validation lists you would have to expand the 'TV' and 'Radio' named ranges to take in the new entries. I've done that, and they seem fine to me. Unfortunately, I don't think you can lock columns in the table and tab to a new row without removing the protection. As I suggested you could hide the 'Comparison' column and the table would function as normal.

    DBY
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    10-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: multiple formulas needed in one cell to create a value in a new cell

    Perfect. Thanks a lot for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1