+ Reply to Thread
Results 1 to 14 of 14

Formula help request for changing text in a cell into a currency value and totalling the a

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Formula help request for changing text in a cell into a currency value and totalling the a

    Hi,

    Got a problem and need help please.

    Did excel many years a go and have now forgot most of it.

    The scenario is:

    Got text in a row/column (cell) and for each new row (cell) of text that is created it must show a currency value based on text input. So say that in a row/column (cell) it is days: Monday = £100, Tuesday = £100, Wednesday = empty (blank) and so on for the week or however may rows are completed with text in them = £100. Then I want to total the amount of rows with text in them, so if 49 rows have text in at £100 this would total £4,900 and so on for each column.

    But I also need it to recognise when a new row (cell) has text added it will add the amount of stated or required i.e. £100 but could be £200 depending on the required setting in formula.

    Any advice?

    Thanks
    Last edited by Bobby5; 12-05-2012 at 09:51 AM. Reason: Moderator request

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,874

    Re: New to excel and need help please

    Please upload a sample spreadsheet so that we can provide you with an accurate response.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: New to excel and need help please

    Quote Originally Posted by alansidman View Post
    Please upload a sample spreadsheet so that we can provide you with an accurate response.
    That's just the point I can't work the formula to complete the worksheet, so all you would get is the text in a box.

  4. #4
    Registered User
    Join Date
    12-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: New to excel and need help please

    £2,500.00

    Avon
    Bath
    Bradley Stoke
    Bristol
    Clevedon
    Keynsham
    Nailsea
    Portishead
    Thornbury
    Weston super Mare
    Yate


    Right best I can do here at the moment is show the above.

    Each row of text = £250 - so if a row has text in it = £250.00 if it's blank =£0.00 the amount then totals above to equate to £2,500.00 for the amount of rows with text in them.

    Each Town is worth £250.00:

    Bath
    Bradley Stoke
    Bristol
    Clevedon
    Keynsham
    Nailsea
    Portishead
    Thornbury
    Weston super Mare
    Yate
    Last edited by Bobby5; 12-05-2012 at 10:24 AM. Reason: example edit

  5. #5
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: New to excel and need help please

    Quote Originally Posted by Bobby5 View Post
    That's just the point I can't work the formula to complete the worksheet, so all you would get is the text in a box.
    Bobby, that's fine - upload a sample workbook, showing the type and layout of your data, and clearly indicating the answer you would expect to get. Text in a cell, showing us the answer that should be there, is fine.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  6. #6
    Registered User
    Join Date
    12-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Hi BB1927,

    Thanks, well that is as the above post.

    It shows the amount expected from the cells with text in if each cell with text (a town name in) is worth £250.00 = £2,500.00
    Last edited by Bobby5; 12-05-2012 at 10:29 AM. Reason: spelling

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Hi Bobby5

    Not sure if I no what you mean!
    How about something along these lines: =COUNTA(A:A)*250

  8. #8
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Hi Bobby!

    Here is a workbook where I've put in two options. You can choose whichever one you want based upon your needs.

    If the value for each town is going to be the same, you can use the formula given in A1.
    If the value for each town is going to change, you can use the formula given in B1.

    Don't forget to click the little star to the bottom left of this post if you feel I helped!
    Attached Files Attached Files
    Taming the Excel dragon... www.TheExcelphile.com

  9. #9
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Here is a example Bobby5
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    12-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Thanks Kevin UK and The ExcelPhile, both worked and provided what I needed, much appreciated.

  11. #11
    Registered User
    Join Date
    12-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Ah, great both worked, jst come accross another problem. My fault entirely.

    There has to be a minimum value of £1,000

    i.e. if there are less than four towns to make £1,000 from four towns worth £250 each, then the minimum should be £1,000.

    So only two towns would normally only make £500, but the minimum is £1,000.

    Hope that makes sense.
    Last edited by Bobby5; 12-05-2012 at 02:46 PM. Reason: spelling

  12. #12
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Quote Originally Posted by Bobby5 View Post
    Ah, great both worked, jst come accross another problem. My fault entirely.

    There has to be a minimum value of £1,000

    i.e. if there are less than four towns to make £1,000 from four towns worth £250 each, then the minimum should be £1,000.

    So only two towns would normally only make £500, but the minimum is £1,000.

    Hope that makes sense.
    It doesn't really. There are 10 towns in your above list. Are there different lists that the formula you're looking for is to applied to? If not, what criteria are used to select the possibly-less-than-four-towns-from-the-list-of-10?

    Again, you should upload a sample file, showing the type and layout of your data, and clearly indicating the answer you require, to help us help you. Text in a cell is often more helpful than text in a paragraph.

  13. #13
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    You could try the MAX formula:

    =MAX(1000,formula given earlier)

  14. #14
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Formula help request for changing text in a cell into a currency value and totalling t

    Hi Bobby5

    Thanks for the feed back.

    Update the formula in Post #9 spreadsheet to: =MAX(COUNTA(A2:A21)*250,1000)

    Kevin

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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