Results 1 to 13 of 13
  1. #1
    ano is offline Advanced Beginner
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    59

    import excel in access only if data not if lookup from other sheet

    i have a spreadsheet looks like a crosstab dates/names-->money
    the money comes from copy/paste from internet in new sheet named date of copy
    the names are on the top row identical the new sheet has
    and the dates are identical new sheet name
    so every time i get new sheet
    i copy last row to new row and adjust few cell to meet new sheet
    this way no much data entry
    but need keep all sheet from internet otherwise the cell got error/empty
    because the first year not so advanced i did not notice the problem
    when the database looks fine the total amount was wrong.


    then i found the many not filled
    is there a way to read/copy the cell by value?to fill access table?

    why only the top row as heading why not the frozen top?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    Not much detail so best guess is using a union query to append column by column

    tip for the future - databases are about data and example data is better than a thousand word description to describe a) what you have now and b) what you want to end up with. Otherwise we are all guessing and it gets very tiresome trying to get clarity to the extent some responders won’t bother. Responders are all unpaid volunteers and like to make best use of their time

  3. #3
    xps35's Avatar
    xps35 is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2022
    Location
    Schiedam, NL
    Posts
    232
    This question is even more unclear than your previous one. At least then you made an attempt to make something clear with attachments. If you don't respond to requests for additional information, I'm afraid we won't get any further.
    Groeten,

    Peter

  4. #4
    ano is offline Advanced Beginner
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    59
    sorry forgot , the problem is ws "total" hardly data only the top is data
    Attached Files Attached Files

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    still don't understand the problem. columns do not have headings. No explanation of which columns need to be copied. And no idea to where - is this an excel question or an access one?

    what does 'many not filled' mean?
    what does 'why only the top row as heading why not the frozen top?' mean?

    What is this even supposed to do? You copy something from the internet - to where? what are you then doing with the data?

  6. #6
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    It would help if you told us what each Column Represents in the Total Sheet ?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  7. #7
    ano is offline Advanced Beginner
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    59
    - the spread sheet need from crosstab back to 1 table naam(top),date(left),money solved after new sheet only values
    - its an access problem that it did not import the values solved in excel
    - its lot of work to change all columns to currency during import !
    - normally import should make import 1-255, 256-510,511-765 ... automatically or after confirm so no data lost
    - many not filled bec no values only formule lookup solved
    - frozen is possible more rows i used 2 rows, so row 2 was rejected solved in excel
    - the money is in dollars and they need pesos, so they can know the earn
    seems the import is not often used, because crosstab is common in excel i guess so import should also split the crosstab.
    the examples from the syntax are too simple to understand the syntax.
    thnx for the help , hope access improve because large excel will be more easy in access special if many to many is supported
    after excel i expected perhaps to much
    tc enjoy the new year

  8. #8
    ano is offline Advanced Beginner
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    59
    ur right but then lots of extra work because top row contains heading spreadsheet heading crosstab heading nick name
    but simple
    date , exchange , total, [ dollar , dollar * exchange , dollar * exchange - sum advance] for each person.
    the dollar is lookup from sheet(date) copy/past from internet, so very little typing to do
    tnx i think all is solved in excel, but no internet by broken cable a week rest
    tc enjoy the new year

  9. #9
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi
    So are you saying that all you are trying to do is Import the "Total" Sheet ?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  10. #10
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    hope access improve because large excel will be more easy in access special if many to many is supported
    after excel i expected perhaps to much
    access and excel are two different applications and work in different ways. Excel stores data short and wide, databases tall and narrow. Excel combines data and presentation in one view, databases stores data in tables and uses queries/forms/reports for views. As for increasing the number of columns, don't hold you breath. Or use sql server express which has a maximum columns of 1024.

    Perhaps if you made your excel sheet simpler, it would be less of a problem. Maybe instead of

    -
    Click image for larger version. 

Name:	image_2023-12-28_130012366.png 
Views:	16 
Size:	4.2 KB 
ID:	51262

    you had something like
    Click image for larger version. 

Name:	image_2023-12-28_130823141.png 
Views:	15 
Size:	47.1 KB 
ID:	51263

    You can then pivot the data for the crosstab view you want in excel.

    or simply use access to get the data from the individual files rather than via an excel interpretaion

  11. #11
    ano is offline Advanced Beginner
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    59
    Quote Originally Posted by mike60smart View Post
    Hi
    So are you saying that all you are trying to do is Import the "Total" Sheet ?
    no mike i try to change from excel to access to need less cpu/memory
    so excel copy/paste internet and import in access and add to total-->tables : exel ,rate
    advance , abc is simple manual input
    just did not expect that i need 1st copy sheet.value before import into access
    Last edited by ano; 12-28-2023 at 06:04 PM.

  12. #12
    ano is offline Advanced Beginner
    Windows 11 Office 365
    Join Date
    Nov 2023
    Posts
    59
    im not going back to excel layout and certainly not a layout like above even in database this is a complex layout with no addinional meaning/reading.
    i was thinking forms with name,date,dollar (order by date desc,name asc) to select from seeing whole list (option: filter,search,select) opening on load at most recent date on 1st alphabetic order name with 2nd tabel (rate) sync with 1st table and 3rd table (advance) sync with 2nd table using abc.
    subforms should not be needed, (hard to test separately , no extra value) perhaps need extra textbox to display clearly the name and amount. the one to many is not easy to select. and blocked changes.
    tnx for the suggestion but prefer a healthy database with new layout. without being forced to different forms to add/change tables

    tc enjoy the new year

  13. #13
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    What table have you created in Access to manage this process?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Excel Sheet data import into Access
    By joesephb in forum Import/Export Data
    Replies: 5
    Last Post: 04-09-2018, 02:09 PM
  2. Replies: 2
    Last Post: 06-22-2017, 12:43 PM
  3. Replies: 7
    Last Post: 10-27-2016, 06:04 AM
  4. Import excel sheet data into Ms-access using VBA macros
    By gokul1242 in forum Import/Export Data
    Replies: 2
    Last Post: 10-02-2012, 04:39 AM
  5. Import to Excel from Access column of LOOKUP data type
    By Derek in forum Import/Export Data
    Replies: 1
    Last Post: 12-06-2010, 06:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums