Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2021, 07:59 AM
ArviLaanemets ArviLaanemets is offline Fix the numerical table column headings to General or Number Format Windows 8 Fix the numerical table column headings to General or Number Format Office 2016
Expert
 
Join Date: May 2017
Posts: 960
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Headers for defined Tables can't be numbers (or formulas).



And for your case, your solution is too complex!
Attached Files
File Type: xlsx SalarySchedNew.xlsx (35.9 KB, 10 views)
Reply With Quote
  #2  
Old 03-16-2021, 10:14 PM
Marcia's Avatar
Marcia Marcia is offline Fix the numerical table column headings to General or Number Format Windows 7 32bit Fix the numerical table column headings to General or Number Format Office 2013
Expert
Fix the numerical table column headings to General or Number Format
 
Join Date: May 2018
Location: Philippines
Posts: 554
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

[And for your case, your solution is too complex![/QUOTE]
Arvil may I ask about the function of the extra comma after tAnnex?
Reply With Quote
  #3  
Old 03-17-2021, 01:05 AM
ArviLaanemets ArviLaanemets is offline Fix the numerical table column headings to General or Number Format Windows 8 Fix the numerical table column headings to General or Number Format Office 2016
Expert
 
Join Date: May 2017
Posts: 960
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Quote:
Originally Posted by Marcia View Post
Arvil may I ask about the function of the extra comma after tAnnex?
I assume the question is about formula in SALARY column of Table tAnnex.

tAnnex in formula returns datarange of Table tAnnex, i.e. a range A2 : D5 in example file. NB! This range is 2-dimensional, i.e. in general it contains rows and columns.
For 2-dimensional ranges/array:
INDEX(DataRange,RowNo,ColumnNo), returns a value from single cell;
INDEX(RowNo,), returns a single row from datarange;
INDEX(,RowNo), returns a single column from datarange;

As follows, 'INDEX(tAnnex,,[@[SALARY STEP]]+1)' returns a datarange column ([@[SALARY STEP]]+1 from tAnnex, i.e. when SALARY STEP in tSalaries is 1, the column Step1 of tAnnex is returned, when SALARY STEP is 2, the column Step2 is returned, etc.
Reply With Quote
  #4  
Old 03-17-2021, 01:16 AM
Marcia's Avatar
Marcia Marcia is offline Fix the numerical table column headings to General or Number Format Windows 7 32bit Fix the numerical table column headings to General or Number Format Office 2013
Expert
Fix the numerical table column headings to General or Number Format
 
Join Date: May 2018
Location: Philippines
Posts: 554
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

But why are there two commas in the formula?
=INDEX(tAnnex,,
I tried deleting one comma but got error result.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fix the numerical table column headings to General or Number Format VBA convert to table - format Column 1 Shelley Lou Word VBA 4 01-29-2021 05:44 AM
Use a numerical merge field to subtract that number of months MichaelSpedding Mail Merge 8 11-11-2015 01:11 PM
VBA to Format a Table Column in Excel Sgt Rock Excel 0 02-14-2015 02:54 PM
Fix the numerical table column headings to General or Number Format 1.image in a table 2.right click 3.menu click format 4.a format column appears OldFatDog Drawing and Graphics 1 06-13-2014 11:19 PM
Change from General Format to number format gbaker Excel 3 08-16-2013 01:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:06 AM.


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