+ Reply to Thread
Results 1 to 15 of 15

Converting and reassigning values.

  1. #1
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Question Converting and reassigning values.

    Hello there,

    I apologize if newcomers like myself come out here to ask for what seems to be simple problems, but I've found myself in a little pickle concerning some trouble I'm having with Excel. Any and all help would be greatly appreciated. =D

    I work for an audio company and currently creating a database of projects we've been working on. I have thousands of entries to input manually, but require help in converting a select few of them which woulds save me incredible amounts of precious time.

    The database includes certain columns divided by 'Title', 'Artist' and 'Record House'. Next to that are individual columns of the 'Record Houses'. I simply input a '0' by default to each rows, but would need to manually assign a '1' when that album has been released by a specific 'Record House'.

    I can do, and have been doing, this manually. Looking at my database on paper (we are converting from paper to digital, as we are wasting enormous amounts of space and paper), it seems that I'll be doing this until 2016, if lucky. :P

    I was wondering if it were possible to, via formula or 3rd party programming, convert the words in the 'Record House' column and have them directly insert the number '1' instead. Thus, in the end, I'll be able to use thesum formula to have a total number of times a Record House has been used by said artist and album.

    For example: I wish to have 'Selected Works 2' assign a '1' to column 'OGM' and column 'Sony'. The same applies to 'Selected Works 3'.

    I can't thank you enough for your time.

    (I've been doing this work on a Chromebook recently and been using Google Spreadsheet. I'll have the attached file converted via Excel 2007 as soon as I get home later today if that causes any problems to anyone. Gotta love those lightweight chromebooks! :D)
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,061

    Re: Converting and reassigning values.

    Hi there... or should I say hellothar... Try this out.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Converting and reassigning values.

    Hellotar, Good afternoon.

    My suggestion is that you split a "Records House" column with a "TEXT to COLUMN" MENU
    After that, you can easily control the records house data.

    Take a look at my example for you.
    19-07-2017_ExcelForum_Records_Database-OK.xlsx

    Is it what you want?
    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  4. #4
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Converting and reassigning values.

    Thank you both very much for your quick response. I very much appreciated your help!

    Glenn Kennedy, I don't seem to be able able to see anything different besides the values '1' where the '0's used to be...?

    Mazzaropi, I see you added the =SUM formula to calculate the sum of the '1's. However I don't understand what's going on in the red 'Record House' rows you've added...?

    After re-reading myself, I fear I've perhaps failed to clarify a few things. My apologies.;

    I have a generated list of 'Title', 'Artist' and 'Record House' (about 1000 entries). I've added the 'OGM', 'Sony' and 'Helix' myself in order to separate and eventually sum them all up in the end. My troubles start where I'd like to be able to search the column entitled 'Record House' (column E) for certain words, such as 'Sony' and have it transcribe a '1' in column H (titled Sony). I would do this for every individual Record House, which there are about 25 of.

    I apologize if I wasn't being clearer about that. I tend to get lost when explaining myself over issues I don't fully comprehend. :P

    Thanks again! =)

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,061

    Re: Converting and reassigning values.

    Now I'm confused. What I did was to write formula that:

    puts a 1 in column G if OGM is present in the corresponding row of column E
    puts a 1 in column H if Sony is present in the corresponding row of column E
    puts a 1 in column I if Helix is present in the corresponding row of column E.

    If that is not your expected result, what is??

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting and reassigning values.

    glenns formula would do that just list all 25 or so in g1 across
    then fill the formula in g3 across and down
    mind you i'd probably use search instead of find as its not case sensitive
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Converting and reassigning values.

    It's probably the Google Spreadsheet not showing everything like I'm used to in Excel. Again, I'll wait until I get home to view everything in it's entirely before saying it isn't good. Sorry about that, and thanks for your help.

  8. #8
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Converting and reassigning values.

    Thanks for pointing this out.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,061

    Re: Converting and reassigning values.

    Martin - you're quite right (as ever). Use this instead...
    Attached Files Attached Files

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting and reassigning values.

    looks ok in google sheets to me
    Attached Images Attached Images

  11. #11
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Converting and reassigning values.

    Very odd. I just rechecked on the exact same column selection. All I get in the bar is a simple '1'. No formula at all.

    I'll be leaving work in a few hours. I'm sure it'll be fine once I get on Excel instead.

    Thanks for the replies, fellas. I'll let you know how it goes. =D

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Converting and reassigning values.

    If you only want to have 1s where applicable and blanks where not applicable enter in G3 and copy across and down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you want the 0s then replace the "" with 0 like this and enter as above:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I used SEARCH because it isn't case sensitive and if errors of case are in column E the formula will still work properly.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  13. #13
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Question Re: Converting and reassigning values.

    Eureka! Upon being home and opening up Excel itself, it worked! Thank you!

    I do, however, have one small, tiny little extra to ask. :P

    I see the formula and believe I understand it.The E$1,$D2 formula states that if what is written in column E1 is found in column D2, then to inscribe it here, directly. Perfect! Here's my little problem, though; How can I make this apply all the rows going down the same column? I tried using the simple drag-to-copy technique like I usually do when using the =SUM formula, but somehow it doesn't work as I thought it should. :/

    Again, thank you! :3

  14. #14
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Converting and reassigning values.

    Woah, nevermind. It was just being buggy. I got it. I"m sure I"ll have a few other questions, but if not. THANK YOU ALL SO MUCH! :D

  15. #15
    Registered User
    Join Date
    07-19-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    8

    Re: Converting and reassigning values.

    I've had to look at these again, even after all this time has passed. I just wanted to say thanks, again. =)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Reassigning data to new interval ranges
    By uanwar88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2013, 06:17 PM
  2. Reassigning Cell Value
    By sperryxx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2013, 05:59 PM
  3. reassigning a button on condition of check box
    By Truss123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2011, 03:35 AM
  4. Reassigning axes on chart
    By bbooze in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-25-2009, 05:50 PM
  5. Replies: 0
    Last Post: 10-25-2005, 06:05 PM

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