Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2017, 10:28 PM
Chilli_Willi Chilli_Willi is offline PLEASE HELP: Excel data transformation Windows XP PLEASE HELP: Excel data transformation Office 2016
Novice
PLEASE HELP: Excel data transformation
 
Join Date: Jul 2017
Posts: 3
Chilli_Willi is on a distinguished road
Default PLEASE HELP: Excel data transformation

Guys,

i need to essentially switch data format from long to wide.

In the simplest example let's consider a battleships game.

Column A - Rows. A2 = 2
Column B - Columns. B2 = 6
Column C - Values. C2 = x



on another sheet I have an 11X11 table, where columns and rows have numbers from 1 to 10. I want to fill up this table with formulas, so that "x" will appear in a cell corresponding to 2nd row and 6th column, all others keeping empty.

moreover, I'd like to add new data on the first table:
e.g. A3 = 3, B3 = 6, C3 = y, so that y will appear in the second table as well with accordance to these coordinates.

do not suggest pivot tables and VBA please. It is a formula-based task I have now and it is much more complicated than what I have described, but please, I hope you could give me some help.
Reply With Quote
  #2  
Old 07-26-2017, 11:42 PM
xor xor is offline PLEASE HELP: Excel data transformation Windows 10 PLEASE HELP: Excel data transformation Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Is it something like the attached?
Attached Files
File Type: xlsx Table.xlsx (12.1 KB, 11 views)
Reply With Quote
  #3  
Old 07-27-2017, 06:11 AM
Chilli_Willi Chilli_Willi is offline PLEASE HELP: Excel data transformation Windows XP PLEASE HELP: Excel data transformation Office 2016
Novice
PLEASE HELP: Excel data transformation
 
Join Date: Jul 2017
Posts: 3
Chilli_Willi is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
Is it something like the attached?
Kind of, but it has to appear at the same 10x10 table, not two different ones.

And I should be able to extent the table (on sheet1) to add more and more items (up to 100 obviously to fill the whole 10x10 table).


I tried to add an auxiliary column on sheet1 (Order column - 1,2,3 etc.) and for the table to use:

IF ( MATCH(by row) = MATCH (by column) , VLOOKUP ( MATCH(by row) , Order column : values , 4 , false ) , "")

But this is not working properly when there were multiple valus for the same column but different rows (only first one was accepted).
Reply With Quote
  #4  
Old 07-27-2017, 07:49 AM
xor xor is offline PLEASE HELP: Excel data transformation Windows 10 PLEASE HELP: Excel data transformation Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Deleted again.

Last edited by xor; 07-27-2017 at 10:48 AM.
Reply With Quote
  #5  
Old 07-27-2017, 10:48 AM
xor xor is offline PLEASE HELP: Excel data transformation Windows 10 PLEASE HELP: Excel data transformation Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

See the attached.
Attached Files
File Type: xlsx Table_2.xlsx (15.4 KB, 7 views)
Reply With Quote
  #6  
Old 07-27-2017, 12:47 PM
Chilli_Willi Chilli_Willi is offline PLEASE HELP: Excel data transformation Windows XP PLEASE HELP: Excel data transformation Office 2016
Novice
PLEASE HELP: Excel data transformation
 
Join Date: Jul 2017
Posts: 3
Chilli_Willi is on a distinguished road
Default

Thank you!!! That was exactly it! Strongly appreciated!

And Could you please explain the formula: why are you using OR operator there?
Reply With Quote
  #7  
Old 07-27-2017, 09:45 PM
xor xor is offline PLEASE HELP: Excel data transformation Windows 10 PLEASE HELP: Excel data transformation Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

See the attached.
Attached Files
File Type: xlsx Table_3.xlsx (15.9 KB, 7 views)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word & Excel 2010 - Best Options To Auto Insert MySQL & Excel Data? Hoser Word 1 03-17-2017 03:47 PM
Embedded Excel charts refresh only data values, not which data points (rows) are included GregL Word 0 12-01-2016 10:24 AM
PLEASE HELP: Excel data transformation use existing table data and not get generic excel chart data canar Word Tables 3 09-08-2015 03:36 PM
How to replicate, consolidate and count cell data in excel for data consoldation. Loran Excel 7 06-05-2014 01:07 AM
PLEASE HELP: Excel data transformation [Excel 2007] Building Power Point Slides from data in an Excel Table bremen22 Excel Programming 1 08-07-2013 11:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft